/* =========================================================
   드림캠퍼스 · "꿈마당 스티커북"
   하늘과 언덕, 스티커처럼 테두리와 그림자가 진 카드, 물결 구분선.
   색은 아래 :root 값만 바꾸면 사이트 전체에 반영됩니다.
   ========================================================= */
:root {
  /* 바탕 */
  --ink: #3a2e2a;        /* 글자 · 스티커 테두리 (따뜻한 밤색) */
  --ink-soft: #6e5f55;
  --bg: #fff9ee;         /* 크림 */
  --paper: #ffffff;
  --line: #f0e2c8;

  /* 크레파스 팔레트 */
  --sun: #ffc83d;   --sun-soft: #fff1c9;
  --tang: #ff8b3d;  --tang-deep: #e2600f; --tang-soft: #ffe6d3;
  --leaf: #5dbb46;  --leaf-deep: #3f9a2a; --leaf-soft: #e3f5d9;
  --sky: #4ba6e8;   --sky-deep: #2479bd;  --sky-soft: #ddf0fc;
  --berry: #ff6f91; --berry-soft: #ffe3ea;
  --grape: #9a7be6; --grape-soft: #eee7fc;

  /* 공동체 색 */
  --dd: var(--tang);  --dd-deep: var(--tang-deep); --dd-soft: var(--tang-soft);
  --du: var(--sky);   --du-deep: var(--sky-deep);  --du-soft: var(--sky-soft);

  --display: "Jua", "Pretendard", sans-serif;
  --hand: "Gaegu", "Jua", cursive;
  --body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --r: 26px;
  --stroke: 2.5px solid var(--ink);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22C120 4 240 4 360 22s240 18 360 0 240-18 360 0 240 18 360 0V40H0z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(15px, 0.3vw + 11.5px, 18px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.06rem; line-height: 1.75;
  word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; font-weight: 400; font-family: var(--display); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px dashed var(--sky-deep); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1440px, 100% - clamp(32px, 6vw, 120px)); margin-inline: auto; }
.narrow { width: min(920px, 100% - 32px); margin-inline: auto; }
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- 버튼 (사탕 버튼) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .72em 1.35em; border-radius: 999px; border: var(--stroke);
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--display); font-size: 1.05rem; line-height: 1.2;
  box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-sm { padding: .5em 1.05em; font-size: .95rem; }
.btn-dd { background: var(--tang-deep); }
.btn-du { background: var(--sky-deep); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-leaf { background: var(--leaf-deep); }

/* ---------- 머리말 ---------- */
#site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); }
#site-header::after { /* 물결 아랫단 */
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 15px; background: var(--paper);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
  transform: scaleY(-1); filter: drop-shadow(0 3px 0 rgba(58,46,42,.06));
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 21px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-family: var(--display); font-weight: 400; font-size: 1.42rem; }
.brand-txt small { font-size: .6rem; letter-spacing: .2em; color: var(--ink-soft); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav ul a {
  display: block; padding: 7px 11px; border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-size: 1.06rem; color: var(--ink-soft); border: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--ink); background: var(--sun-soft); }
.site-nav ul a.ext::after { content: "↗"; font-size: .75em; margin-left: 2px; color: var(--berry); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--sun); border-color: var(--ink); }
.site-nav ul a[data-tone="dodream"][aria-current="page"] { background: var(--tang); color: #fff; }
.site-nav ul a[data-tone="dreamup"][aria-current="page"] { background: var(--sky); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; cursor: pointer;
    border: var(--stroke); border-radius: 14px; background: var(--sun); box-shadow: 0 3px 0 var(--ink);
  }
  .nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 18px 16px 26px; background: var(--paper); border-bottom: var(--stroke);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { padding: 11px 16px; font-size: 1.2rem; }
  .site-nav .btn { justify-content: center; }
}

/* ---------- 섹션 · 물결 띠 ---------- */
section { padding: clamp(56px, 5vw, 76px) 0; position: relative; }
.sec-tight { padding: clamp(40px, 4vw, 52px) 0; }
.band { background: var(--sec-bg, var(--paper)); z-index: 1; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 34px; background: var(--sec-bg, var(--paper));
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
  pointer-events: none;
}
.band::before { top: -33px; }
.band::after { bottom: -33px; transform: scaleY(-1); }
.band-sun { --sec-bg: var(--sun-soft); }
.band-sky { --sec-bg: var(--sky-soft); }
.band-leaf { --sec-bg: var(--leaf-soft); }
.band-berry { --sec-bg: var(--berry-soft); }
.band-tang { --sec-bg: var(--tang-soft); }

/* 섹션 머리 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-family: var(--hand); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--tang-deep);
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; background: var(--sun);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.t-du .eyebrow { color: var(--sky-deep); }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
.sec-head p { margin-top: 14px; color: var(--ink-soft); }
.lead { font-size: 1.13rem; color: var(--ink-soft); }

/* 형광펜 · 물결 밑줄 */
.mark { background: linear-gradient(transparent 58%, var(--sun) 58% 90%, transparent 90%); padding: 0 .1em; }
.mark-berry { background: linear-gradient(transparent 58%, var(--berry-soft) 58% 90%, transparent 90%); }
.squig { position: relative; white-space: nowrap; }
.squig::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.18em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M2 6c7-5 11 3 18-1s11-5 18 0 11 4 20-1' stroke='%23ffc83d' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / auto 100%;
}
.squig.sky::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M2 6c7-5 11 3 18-1s11-5 18 0 11 4 20-1' stroke='%234ba6e8' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hl-dd { color: var(--tang-deep); }
.hl-du { color: var(--sky-deep); }
.hl-leaf { color: var(--leaf-deep); }

/* ---------- 홈 첫 화면 ---------- */
.hero {
  padding: 64px 0 150px; overflow: hidden;
  background: linear-gradient(180deg, #d9f0ff 0%, #eef8ff 45%, var(--bg) 100%);
}
.bunting {
  position: absolute; top: 0; left: 0; right: 0; height: 46px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 46'%3E%3Cpath d='M0 4Q150 22 300 4' stroke='%233a2e2a' stroke-width='1.5' fill='none'/%3E%3Cpath d='M14 7l22 3-9 26z' fill='%23ff6f91'/%3E%3Cpath d='M74 12l24 1-10 26z' fill='%23ffc83d'/%3E%3Cpath d='M138 14h24l-12 26z' fill='%235dbb46'/%3E%3Cpath d='M202 13l24-1-14 26z' fill='%234ba6e8'/%3E%3Cpath d='M264 10l22-3-13 27z' fill='%239a7be6'/%3E%3C/svg%3E") repeat-x 0 0 / 300px 46px;
}
.sun-deco { position: absolute; right: 6%; top: 52px; width: 92px; height: 92px; animation: spin 40s linear infinite; }
.cloud {
  position: absolute; width: 120px; height: 40px; border-radius: 40px; background: #fff; opacity: .95;
  animation: drift 26s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 54px; height: 54px; left: 18px; top: -26px; }
.cloud::after { width: 40px; height: 40px; left: 60px; top: -16px; }
.cloud.c1 { left: 4%; top: 120px; }
.cloud.c2 { left: 46%; top: 70px; transform: scale(.7); animation-duration: 34s; }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px; display: block; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1.2; }
.verse {
  position: relative; display: inline-block; margin-top: 24px; padding: 12px 20px 12px 22px;
  background: var(--paper); border: var(--stroke); border-radius: 22px 22px 22px 6px;
  font-family: var(--hand); font-weight: 700; font-size: 1.25rem; line-height: 1.4; box-shadow: 4px 4px 0 var(--sun);
}
.verse cite { font-style: normal; font-family: var(--body); font-weight: 800; font-size: .8rem; color: var(--leaf-deep); margin-left: 6px; }
.hero .lead { margin-top: 20px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; width: min(520px, 100%); aspect-ratio: 1; justify-self: center; }
.hero-art .disc {
  position: absolute; inset: 8%; border-radius: 50%; background: var(--paper);
  border: 12px solid var(--sun); box-shadow: 0 0 0 3px var(--ink), 8px 10px 0 3px var(--ink);
}
.hero-art .symbol { position: absolute; left: 50%; top: 50%; height: 58%; width: auto; transform: translate(-50%, -52%); }
.orbit { position: absolute; width: 18%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: var(--stroke); box-shadow: 3px 3px 0 var(--ink); animation: bob 4s ease-in-out infinite; }
.orbit svg { width: 64%; height: 64%; }
.orbit.o1 { left: 0; top: 14%; animation-delay: -1s; }
.orbit.o2 { right: 0; top: 6%; animation-delay: -2s; }
.orbit.o3 { right: -2%; bottom: 18%; animation-delay: -3s; }
.orbit.o4 { left: 4%; bottom: 6%; }
.hero-art .tag {
  position: absolute; z-index: 2; padding: 6px 16px; border-radius: 999px; border: var(--stroke);
  font-family: var(--display); font-size: 1.08rem; white-space: nowrap; color: #fff;
}
.hero-art .tag.a { left: 22%; top: -2%; background: var(--tang-deep); transform: rotate(-6deg); }
.hero-art .tag.b { right: 14%; bottom: -2%; background: var(--sky-deep); transform: rotate(4deg); }
.dday {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 14px 5px 6px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none;
}
.dday b { background: var(--berry); color: #fff; border-radius: 999px; padding: 1px 10px; font-family: var(--display); font-weight: 400; font-size: 1rem; }
@media (max-width: 860px) {
  .hero { padding: 64px 0 120px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { width: min(300px, 82%); order: -1; }
  .hero-art .tag { font-size: .92rem; padding: 4px 12px; }
  .sun-deco { width: 64px; height: 64px; right: 4%; top: 50px; }
  .cloud.c2 { display: none; }
  .hills { height: 100px; }
}

/* ---------- 한눈에 보기 ---------- */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: -40px; position: relative; z-index: 3; }
.fact {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; background: var(--paper);
  border: var(--stroke); border-radius: 999px; box-shadow: 0 4px 0 var(--ink); font-weight: 700; font-size: .98rem;
}
.fact .ic { width: 34px; height: 34px; padding: 4px; border-radius: 50%; background: var(--sun-soft); }
.fact:nth-child(2) .ic { background: var(--tang-soft); }
.fact:nth-child(3) .ic { background: var(--sky-soft); }
.fact:nth-child(4) .ic { background: var(--grape-soft); }
.fact:nth-child(5) .ic { background: var(--berry-soft); }

/* ---------- 스티커 카드 ---------- */
.card {
  --tint: var(--sun);
  position: relative; padding: 28px; border-radius: var(--r); background: var(--paper);
  border: var(--stroke); box-shadow: 6px 6px 0 var(--tint);
}
.card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .badge-ic {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 14px;
  border-radius: 20px; background: color-mix(in srgb, var(--tint) 22%, #fff); border: 2px solid var(--ink);
}
.card .badge-ic svg { width: 40px; height: 40px; }
.card .num {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; margin-bottom: 14px;
  border-radius: 999px; background: var(--tint); border: 2px solid var(--ink);
  font-family: var(--display); font-size: 1.2rem;
}
.card-soft { border: 2.5px dashed color-mix(in srgb, var(--tint) 70%, var(--ink)); box-shadow: none; background: color-mix(in srgb, var(--tint) 12%, #fff); }
.tints > :nth-child(6n+1) { --tint: var(--sun); }
.tints > :nth-child(6n+2) { --tint: var(--berry); }
.tints > :nth-child(6n+3) { --tint: var(--sky); }
.tints > :nth-child(6n+4) { --tint: var(--leaf); }
.tints > :nth-child(6n+5) { --tint: var(--grape); }
.tints > :nth-child(6n+6) { --tint: var(--tang); }
.tilt > :nth-child(odd) { transform: rotate(-1deg); }
.tilt > :nth-child(even) { transform: rotate(1deg); }
.card ul.dots li { position: relative; padding-left: 20px; color: var(--ink-soft); }
.card ul.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--tint); border: 2px solid var(--ink); }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .tilt > * { transform: none !important; } }

/* ---------- 두 공동체 ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.duo-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 32px 30px;
  border-radius: 32px; border: var(--stroke); background: var(--paper); text-decoration: none;
  transition: transform .2s;
}
.duo-card.dd { box-shadow: 10px 10px 0 var(--tang); background: linear-gradient(180deg, var(--tang-soft), #fff 46%); }
.duo-card.du { box-shadow: 10px 10px 0 var(--sky); background: linear-gradient(180deg, var(--sky-soft), #fff 46%); }
.duo-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.duo-card .top { display: flex; align-items: center; gap: 16px; }
.duo-card .top img { width: 96px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); }
.duo-card .age { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; border: 2px solid var(--ink); background: var(--sun); }
.duo-card h3 { font-size: 2.4rem; line-height: 1.1; margin-top: 6px; }
.duo-card.dd h3 { color: var(--tang-deep); }
.duo-card.du h3 { color: var(--sky-deep); }
.duo-card .slogan { font-family: var(--hand); font-weight: 700; font-size: 1.35rem; line-height: 1.35; }
.duo-card p { color: var(--ink-soft); }
.duo-card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.duo-card .meta span { padding: 3px 12px; border-radius: 999px; background: #fff; border: 2px dashed var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.duo-card .go { margin-top: auto; padding-top: 10px; font-family: var(--display); font-size: 1.15rem; }
.duo-card.dd .go { color: var(--tang-deep); }
.duo-card.du .go { color: var(--sky-deep); }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; gap: 28px; } .duo-card { padding: 28px 22px; } .duo-card h3 { font-size: 2rem; } }

/* ---------- 성장 여정 ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.journey::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 58px; border-top: 4px dashed var(--ink); opacity: .25;
}
.journey li { position: relative; text-align: center; }
.journey .pot {
  width: 116px; height: 116px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: var(--stroke); box-shadow: 5px 5px 0 var(--tint, var(--sun));
}
.journey .pot svg { width: 66px; height: 66px; }
.journey .age { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; }
.journey b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.journey span.d { display: block; color: var(--ink-soft); font-size: .93rem; }
.journey li:nth-child(1) { --tint: var(--leaf); }
.journey li:nth-child(2) { --tint: var(--sun); }
.journey li:nth-child(3) { --tint: var(--berry); }
.journey li:nth-child(4) { --tint: var(--sky); }
.journey li:nth-child(4) .pot { width: 132px; height: 132px; margin-top: -8px; }
@media (max-width: 760px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .journey::before { display: none; }
  .journey .pot, .journey li:nth-child(4) .pot { width: 96px; height: 96px; margin-top: 0; }
  .journey .pot svg { width: 54px; height: 54px; }
}

/* ---------- 페이지 상단 (하위 페이지) ---------- */
.page-hero { padding: 56px 0 76px; overflow: hidden; background: linear-gradient(180deg, var(--sun-soft), var(--bg)); }
.page-hero.t-dd { background: linear-gradient(180deg, #ffd9bd, var(--tang-soft) 60%, var(--bg)); }
.page-hero.t-du { background: linear-gradient(180deg, #c6e6fb, var(--sky-soft) 60%, var(--bg)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.page-hero p.sub { margin-top: 16px; max-width: 620px; color: var(--ink-soft); font-size: 1.1rem; }
.crumb { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; font-weight: 700; }
.crumb a { text-decoration: none; }
.page-hero.has-emblem .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.page-hero .emblem {
  width: 220px; border-radius: 50%; background: #fff; border: var(--stroke);
  box-shadow: 8px 8px 0 var(--ink); transform: rotate(-5deg); animation: wiggle 6s ease-in-out infinite;
}
.sticker-float { position: absolute; width: 52px; height: 52px; z-index: 1; animation: bob 5s ease-in-out infinite; }
.sticker-float.s1 { left: 3%; top: 26px; }
.sticker-float.s2 { right: 4%; top: 30px; animation-delay: -2s; }
.sticker-float.s3 { right: 30%; bottom: 40px; width: 40px; height: 40px; animation-delay: -3.5s; }
@media (max-width: 720px) {
  .page-hero.has-emblem .wrap { grid-template-columns: 1fr; gap: 20px; }
  .page-hero .emblem { width: 140px; order: -1; }
  .sticker-float.s3 { display: none; }
  .sticker-float { width: 38px; height: 38px; }
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 5px 8px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); font-size: .92rem; font-weight: 700;
}
.pill .ic { width: 24px; height: 24px; }

/* ---------- 이름의 뜻 ---------- */
.names { display: grid; gap: 14px; }
.names li {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: var(--paper);
  border: var(--stroke); box-shadow: 5px 5px 0 var(--tint);
}
.names li:nth-child(1) { --tint: var(--leaf); }
.names li:nth-child(2) { --tint: var(--tang); }
.names li:nth-child(3) { --tint: var(--berry); }
.names b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; min-width: 5.6em; }
.names span { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; color: var(--ink-soft); }

/* ---------- 정원 비유 ---------- */
.garden { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.polaroid {
  position: relative; margin: 0; padding: 14px 14px 52px; background: #fff; border: var(--stroke);
  border-radius: 10px; box-shadow: 8px 8px 0 var(--leaf); transform: rotate(-2.5deg);
}
.polaroid img, .polaroid .ph-in { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--hand); font-weight: 700; font-size: 1.3rem; }
.polaroid::before { /* 마스킹 테이프 */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(90deg, rgba(255,200,61,.75) 0 10px, rgba(255,214,107,.75) 10px 20px);
  border-radius: 3px;
}
.garden ol { display: grid; gap: 14px; margin-top: 26px; }
.garden ol li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: center; }
.garden ol .ic { width: 58px; height: 58px; padding: 8px; border-radius: 18px; background: var(--paper); border: 2px solid var(--ink); }
.garden ol b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.garden ol span { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 820px) { .garden { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- 하루일과 (스티커 시간표) ---------- */
.day-group { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: start; }
.day-group + .day-group { margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line); }
.day-label { padding-top: 18px; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; color: var(--tang-deep); }
.day { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.day li {
  --tint: var(--sun);
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 10px; align-items: center;
  padding: 12px 12px 12px 10px; border-radius: 20px; background: var(--paper); border: var(--stroke); box-shadow: 4px 4px 0 var(--tint);
}
.day li .ic { grid-row: span 3; width: 44px; height: 44px; padding: 6px; border-radius: 14px; background: color-mix(in srgb, var(--tint) 20%, #fff); }
.day time { font-family: var(--display); font-size: 1.05rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; line-height: 1.1; }
.day b { font-size: .95rem; line-height: 1.35; }
.day small { display: block; color: var(--ink-soft); font-size: .8rem; line-height: 1.35; }
.day-group.extra .day li { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--tint) 10%, #fff); }
.day-group.extra .day-label { color: var(--ink-soft); }
@media (max-width: 1080px) { .day { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .day-group { grid-template-columns: 1fr; gap: 8px; }
  .day-label { padding-top: 0; }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 420px) { .day { grid-template-columns: 1fr; } }

/* 드림업 수업 흐름 */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.flow > li {
  --tint: var(--sky); position: relative; padding: 22px 18px 20px; border-radius: 24px; background: var(--paper);
  border: var(--stroke); box-shadow: 5px 5px 0 var(--tint);
}
.flow > li:nth-child(1) { --tint: var(--sun); }
.flow > li:nth-child(2) { --tint: var(--berry); }
.flow > li:nth-child(3) { --tint: var(--grape); }
.flow > li:nth-child(4) { --tint: var(--leaf); }
.flow > li:nth-child(5) { --tint: var(--tang); }
.flow .ic { width: 50px; height: 50px; }
.flow .cls { display: inline-block; margin-top: 10px; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.flow h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.flow ul li { color: var(--ink-soft); font-size: .94rem; }
.flow .between {
  position: absolute; right: -20px; top: 50%; z-index: 2; transform: translateY(-50%) rotate(-8deg);
  padding: 2px 9px; border-radius: 10px; background: var(--sun); border: 2px solid var(--ink);
  font-family: var(--hand); font-weight: 700; font-size: 1rem; white-space: nowrap;
}
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow .between { right: 12px; top: 14px; transform: rotate(6deg); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- 원형 프로그램 ---------- */
.bubbles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bubble {
  --tint: var(--sun);
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 22px 24px 22px 20px; border-radius: 28px; background: var(--paper); border: var(--stroke); box-shadow: 5px 5px 0 var(--tint);
}
.bubble .ring {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: color-mix(in srgb, var(--tint) 24%, #fff); border: 2.5px solid var(--ink);
}
.bubble .ring svg { width: 54px; height: 54px; }
.bubble .tag { display: inline-block; margin-bottom: 4px; padding: 0 10px; border-radius: 999px; background: var(--tint); border: 2px solid var(--ink); font-family: var(--display); font-size: .9rem; }
.bubble h3 { font-size: 1.3rem; margin-bottom: 4px; }
.bubble p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 760px) { .bubbles { grid-template-columns: 1fr; } .bubble { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; } .bubble .ring { width: 72px; height: 72px; } .bubble .ring svg { width: 42px; height: 42px; } }

/* ---------- 반 · 사람 ---------- */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.cls-card {
  --tint: var(--leaf); text-align: center; padding: 30px 22px 26px; border-radius: 30px; background: var(--paper);
  border: var(--stroke); box-shadow: 6px 6px 0 var(--tint);
}
.cls-card:nth-child(2) { --tint: var(--sun); }
.cls-card:nth-child(3) { --tint: var(--berry); }
.cls-card .pot { width: 104px; height: 104px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--tint) 22%, #fff); border: 2.5px solid var(--ink); }
.cls-card .pot svg { width: 62px; height: 62px; }
.cls-card .age { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; }
.cls-card h3 { font-size: 1.9rem; margin-top: 6px; }
.cls-card p { font-family: var(--hand); font-weight: 700; font-size: 1.25rem; color: var(--ink-soft); }
@media (max-width: 760px) { .classes { grid-template-columns: 1fr; } }

.director {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px;
  max-width: 760px; margin: 0 auto 34px; padding: 22px 28px; border-radius: 30px;
  background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--sky);
}
.director .avatar {
  width: 76px; height: 76px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--sun-soft); border: 2.5px solid var(--ink);
}
.director .avatar svg { width: 46px; height: 46px; }
.director .who { display: flex; flex-direction: column; line-height: 1.2; }
.director .who small { font-family: var(--hand); font-weight: 700; font-size: 1.15rem; color: var(--ink-soft); }
.director .who b { font-family: var(--display); font-weight: 400; font-size: 2rem; }
.director .roles { display: flex; gap: 10px; }
.director .roles li {
  display: grid; place-items: center; min-width: 76px; padding: 10px 16px; border-radius: 16px;
  border: 2.5px solid var(--ink); font-family: var(--display); font-size: 1.25rem; box-shadow: 3px 3px 0 var(--ink);
}
.director .roles .r1 { background: var(--sun); transform: rotate(-3deg); }
.director .roles .r2 { background: var(--leaf-soft); transform: rotate(2deg); }
.director .roles .r3 { background: var(--grape-soft); transform: rotate(-1.5deg); }
@media (max-width: 560px) {
  .director { flex-direction: column; text-align: center; padding: 22px 18px; }
  .director .who { align-items: center; }
  .director .roles li { min-width: 64px; padding: 8px 12px; font-size: 1.1rem; }
}

.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { --tint: var(--sun); padding: 26px 16px; border-radius: 26px; background: var(--paper); text-align: center; border: var(--stroke); box-shadow: 5px 5px 0 var(--tint); }
.person:nth-child(2) { --tint: var(--berry); }
.person:nth-child(3) { --tint: var(--sun); }
.person:nth-child(4) { --tint: var(--leaf); }
.person:nth-child(1) { --tint: var(--sky); }
.person .avatar {
  width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint) 25%, #fff); border: 2.5px solid var(--ink);
}
.person .avatar svg { width: 46px; height: 46px; }
.person b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.person span { display: block; color: var(--ink-soft); font-size: .92rem; }
.people-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.people-3 .person:nth-child(1) { --tint: var(--berry); }
.people-3 .person:nth-child(2) { --tint: var(--sun); }
.people-3 .person:nth-child(3) { --tint: var(--leaf); }
@media (max-width: 820px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } .people-3 { grid-template-columns: 1fr; max-width: 420px; } }

/* ---------- 12성품 ---------- */
.virtues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.virtue-set { --tint: var(--berry); padding: 28px; border-radius: 28px; background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--tint); }
.virtue-set.b { --tint: var(--leaf); }
.virtue-set h3 { font-size: 1.5rem; }
.virtue-set > p { color: var(--ink-soft); font-size: .96rem; margin: 4px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 7px 16px; border-radius: 999px; font-family: var(--display); font-size: 1.08rem;
  background: color-mix(in srgb, var(--tint) 18%, #fff); border: 2px solid var(--ink);
}
.chips li:nth-child(odd) { transform: rotate(-2deg); }
.chips li:nth-child(3n) { transform: rotate(2deg); }
@media (max-width: 720px) { .virtues { grid-template-columns: 1fr; } }

/* ---------- 숫자 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; }
.stat { text-align: center; }
.stat .stack {
  margin: 0 auto 10px; width: 78%; border: var(--stroke); border-radius: 14px 14px 6px 6px;
  background: repeating-linear-gradient(180deg, var(--tint, var(--sun)) 0 16px, color-mix(in srgb, var(--tint, var(--sun)) 55%, #fff) 16px 20px);
}
.stat:nth-child(1) { --tint: var(--leaf); } .stat:nth-child(1) .stack { height: 70px; }
.stat:nth-child(2) { --tint: var(--sky); }  .stat:nth-child(2) .stack { height: 86px; }
.stat:nth-child(3) { --tint: var(--berry); } .stat:nth-child(3) .stack { height: 100px; }
.stat:nth-child(4) { --tint: var(--sun); } .stat:nth-child(4) .stack { height: 128px; }
.stat small { display: block; color: var(--ink-soft); font-weight: 800; font-size: .88rem; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.2; }
.stat.total b { color: var(--tang-deep); font-size: 2.4rem; }
@media (max-width: 600px) { .stats { gap: 10px; } .stat b { font-size: 1.45rem; } .stat.total b { font-size: 1.7rem; } }

/* ---------- 절차 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: s; }
.step { --tint: var(--sun); position: relative; padding: 34px 26px 26px; border-radius: 28px; background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--tint); }
.step:nth-child(2) { --tint: var(--sky); }
.step:nth-child(3) { --tint: var(--berry); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -22px; left: 22px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--tint); border: var(--stroke); font-family: var(--display); font-size: 1.4rem;
}
.step h3 { font-size: 1.55rem; margin-bottom: 4px; }
.step .when { display: inline-block; margin-bottom: 6px; font-family: var(--display); font-size: 1.15rem; color: var(--tang-deep); }
.step p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; row-gap: 40px; } }

/* ---------- 방학 ---------- */
.breaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.breaks li { --tint: var(--sun); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 22px; border-radius: 24px; background: var(--paper); border: var(--stroke); box-shadow: 5px 5px 0 var(--tint); }
.breaks li:nth-child(2) { --tint: var(--sky); }
.breaks li:nth-child(3) { --tint: var(--leaf); }
.breaks .ic { grid-row: span 3; width: 56px; height: 56px; }
.breaks b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.breaks .len { font-weight: 800; color: var(--leaf-deep); line-height: 1.3; }
.breaks span { color: var(--ink-soft); font-size: .93rem; line-height: 1.4; }
@media (max-width: 760px) { .breaks { grid-template-columns: 1fr; } }

/* ---------- 상담 안내 ---------- */
.notice {
  display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: 28px 32px; border-radius: 30px; background: var(--paper); border: 3px dashed var(--tang);
}
.notice > .ic { width: 74px; height: 74px; padding: 14px; border-radius: 50%; background: var(--tang-soft); color: var(--tang-deep); border: 2px solid var(--ink); }
.notice h3 { font-size: 1.55rem; }
.notice p { color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; padding: 24px 22px; text-align: left; } .notice > .ic { width: 58px; height: 58px; padding: 10px; } }

/* ---------- 자주 묻는 질문 ---------- */
.faq { display: grid; gap: 14px; }
.faq details { border-radius: 22px; background: var(--paper); border: var(--stroke); box-shadow: 4px 4px 0 var(--sun); }
.faq details:nth-child(3n+2) { box-shadow: 4px 4px 0 var(--sky); }
.faq details:nth-child(3n) { box-shadow: 4px 4px 0 var(--berry); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 12px; align-items: center; padding: 16px 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font-family: var(--display); font-weight: 400; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.7rem; line-height: 1; text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 22px 20px 66px; color: var(--ink-soft); }
@media (max-width: 560px) { .faq details > p { padding-left: 22px; } }

/* ---------- 사진 자리 (폴라로이드) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.gallery .polaroid { box-shadow: 6px 6px 0 var(--tint, var(--sun)); }
.gallery .polaroid:nth-child(3n+1) { --tint: var(--berry); transform: rotate(-2deg); }
.gallery .polaroid:nth-child(3n+2) { --tint: var(--sky); transform: rotate(1.5deg); }
.gallery .polaroid:nth-child(3n) { --tint: var(--leaf); transform: rotate(-1deg); }
.ph-in {
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 12px;
  background: repeating-linear-gradient(45deg, rgba(58,46,42,.03) 0 10px, transparent 10px 20px), color-mix(in srgb, var(--tint, var(--sun)) 14%, #fff);
  border: 2px dashed color-mix(in srgb, var(--tint, var(--sun)) 70%, var(--ink)); color: var(--ink-soft); font-size: .82rem;
}
.ph-in .ic { width: 40px; height: 40px; opacity: .8; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .polaroid { padding: 8px 8px 40px; } .polaroid figcaption { font-size: 1.05rem; bottom: 8px; } }

/* ---------- 위치 ---------- */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.place { --tint: var(--tang); padding: 28px; border-radius: 28px; background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--tint); }
.place.du { --tint: var(--sky); }
.place .head { display: flex; align-items: center; gap: 14px; }
.place .head img { width: 64px; border-radius: 50%; border: 2px solid var(--ink); }
.place h3 { font-size: 1.7rem; }
.place dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 18px 0 0; }
.place dt { font-weight: 800; color: var(--ink-soft); font-size: .92rem; }
.place dd { margin: 0; }
@media (max-width: 720px) { .places { grid-template-columns: 1fr; } }

/* ---------- 하단 상담 띠 ---------- */
.cta { text-align: center; }
.cta-box {
  position: relative; padding: 48px 28px 44px; border-radius: 40px; border: var(--stroke);
  background: radial-gradient(circle at 12% 20%, #fff7 0 40px, transparent 41px), radial-gradient(circle at 88% 78%, #fff7 0 60px, transparent 61px), var(--sun);
  box-shadow: 10px 10px 0 var(--ink);
}
.cta-box .eyebrow { color: var(--ink); }
.cta-box .eyebrow::before { background: #fff; }
.cta-box h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.cta-box p { margin-top: 8px; color: var(--ink); }
.upcoming { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.upcoming li { display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 8px 14px; border-radius: 18px; background: #fff; border: 2px solid var(--ink); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.upcoming li:nth-child(1) { box-shadow: 3px 3px 0 var(--berry); }
.upcoming li:nth-child(2) { box-shadow: 3px 3px 0 var(--sky); }
.upcoming li:nth-child(3) { box-shadow: 3px 3px 0 var(--leaf); }
.upcoming b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.notice p + p { margin-top: 6px; }
.cta-box .tel {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 24px; border-radius: 999px;
  background: #fff; border: var(--stroke); text-decoration: none; font-family: var(--display); font-size: clamp(1.7rem, 5.6vw, 2.6rem); letter-spacing: .02em;
}
.cta-box .tel .ic { width: .8em; height: .8em; color: var(--berry); }
.cta-box .hero-cta { justify-content: center; }
.cta-box .deco { position: absolute; width: 64px; height: 64px; }
.cta-box .deco.d1 { left: -18px; top: -24px; transform: rotate(-12deg); }
.cta-box .deco.d2 { right: -14px; bottom: -22px; transform: rotate(10deg); }

/* ---------- 꼬리말 ---------- */
#site-footer { position: relative; margin-top: 60px; background: var(--ink); color: #e9ddd2; padding: 50px 0 40px; font-size: .92rem; }
#site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 34px; background: var(--ink);
  -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
}
.footer-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px 56px; align-items: start; }
.f-brand { display: flex; gap: 14px; align-items: center; }
.f-brand img { width: 24px; }
.f-brand b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: #fff; }
.f-addr { font-size: .85rem; color: #b7a99c; margin-top: 2px; }
.f-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin: 0; }
.f-info dt { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.f-info dt span { font-family: var(--body); font-weight: 600; color: #b7a99c; font-size: .8rem; margin-left: 4px; }
.f-info dd { margin: 0; }
.f-info a { display: inline-flex; align-items: center; gap: 6px; color: var(--sun); text-decoration: none; font-weight: 800; }
.f-info a .ic { width: 18px; height: 18px; }
.f-handle { font-size: .82rem; color: #b7a99c; }
.f-copy { grid-column: 1 / -1; padding-top: 20px; border-top: 2px dashed #5a4a43; color: #b7a99c; font-family: var(--hand); font-size: 1.15rem; }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-info { grid-template-columns: 1fr; } }

/* ---------- 휴대폰 하단 바 ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 70;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 22px;
    background: var(--paper); border: var(--stroke); box-shadow: 0 4px 0 var(--ink);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 16px;
    text-decoration: none; font-family: var(--display); font-size: 1.02rem;
  }
  .mbar a .ic { width: 20px; height: 20px; }
  .mbar a.call { background: var(--berry); color: #fff; }
  .mbar a.in { background: var(--sun-soft); }
  .mbar a.map { background: var(--sky-soft); }
}

/* ---------- 기타 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.note { font-size: .9rem; color: var(--ink-soft); margin-top: 20px; }
.mt-l { margin-top: 52px; }
.center { text-align: center; }

/* ---------- 움직임 ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { translate: 0 0; } to { translate: 60px 0; } }
@keyframes wiggle { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   2차 반영 (시안 피드백 · 드림업 설명회 자료)
   ========================================================= */

/* ---------- 12성품 꽃 그림 ---------- */
.flowers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.flower-box { --tint: var(--berry); padding: 30px 24px 26px; border-radius: 32px; background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--tint); }
.flower-box.b { --tint: var(--leaf); }
.flower { position: relative; width: min(400px, 100%); aspect-ratio: 1; margin: 0 auto; }
.flower .petal {
  --i: 0; position: absolute; left: 50%; top: 50%; width: 33%; aspect-ratio: 1; margin: -16.5% 0 0 -16.5%;
  display: grid; place-content: center; text-align: center; border-radius: 50%; border: 2.5px solid var(--ink);
  transform: rotate(calc(var(--i) * 60deg)) translateY(-92%) rotate(calc(var(--i) * -60deg));
  font-family: var(--display); font-size: clamp(.95rem, 2vw, 1.2rem); line-height: 1.15; color: #fff;
}
.flower .petal small { display: block; font-family: var(--body); font-size: clamp(.5rem, 1.5vw, .62rem); line-height: 1.15; font-weight: 700; opacity: .92; letter-spacing: .02em; }
.flower .core {
  position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); z-index: 2;
}
.flower .core b { font-family: var(--display); font-weight: 400; font-size: clamp(1.05rem, 2.3vw, 1.4rem); line-height: 1.15; }
.flower .core small { font-size: .66rem; font-weight: 700; color: var(--ink-soft); }
.flower .core em { font-style: normal; margin-top: 3px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: .75rem; font-weight: 800; }
.flower.a .petal:nth-child(1) { background: #f08a7e; } .flower.a .petal:nth-child(2) { background: #ec5f5a; }
.flower.a .petal:nth-child(3) { background: #f2766f; } .flower.a .petal:nth-child(4) { background: #f8a87e; }
.flower.a .petal:nth-child(5) { background: #f59a68; } .flower.a .petal:nth-child(6) { background: #ef7f73; }
.flower.a .core em { background: #ec5f5a; }
.flower.b .petal:nth-child(1) { background: #6cc6d8; } .flower.b .petal:nth-child(2) { background: #2bb3b1; }
.flower.b .petal:nth-child(3) { background: #4fbfa3; } .flower.b .petal:nth-child(4) { background: #8fcf97; }
.flower.b .petal:nth-child(5) { background: #6fbf86; } .flower.b .petal:nth-child(6) { background: #5aaa6a; }
.flower.b .core em { background: #2bb3b1; }
.flower-box h3 { margin-top: 22px; font-size: 1.35rem; }
.flower-box p { color: var(--ink-soft); font-size: .96rem; }
.credit { margin-top: 16px; font-size: .82rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 820px) { .flowers { grid-template-columns: 1fr; } }

/* ---------- 이름의 뜻 (3칸) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trio .card { text-align: center; }
.trio .card .badge-ic { margin-inline: auto; }
.trio .card h3 { font-size: 1.7rem; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* ---------- 교육 중점 (구호 + 키워드) ---------- */
.focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.focus .card .motto { display: block; margin: 2px 0 10px; font-family: var(--hand); font-weight: 700; font-size: 1.28rem; line-height: 1.35; color: var(--ink); }
.focus .chips { margin-top: 14px; gap: 7px; }
.focus .chips li { font-size: .95rem; padding: 4px 12px; background: color-mix(in srgb, var(--tint) 20%, #fff); }
.focus .note { margin-top: 10px; }
@media (max-width: 980px) { .focus { grid-template-columns: 1fr; } }

/* ---------- 교시 시간표 ---------- */
.tt-wrap { overflow-x: auto; border-radius: 26px; border: var(--stroke); box-shadow: 6px 6px 0 var(--sky); background: var(--paper); }
.timetable { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.timetable th, .timetable td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 2px dashed var(--line); }
.timetable thead th { background: var(--sky-soft); font-family: var(--display); font-weight: 400; font-size: 1.05rem; border-bottom: var(--stroke); }
.timetable tbody tr:last-child td, .timetable tbody tr:last-child th { border-bottom: 0; }
.timetable th[scope="row"] { font-family: var(--display); font-weight: 400; font-size: 1.1rem; white-space: nowrap; }
.timetable td.t { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-soft); font-weight: 600; }
.timetable tr.break th, .timetable tr.break td { background: var(--sun-soft); }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.days li { --tint: var(--sun); padding: 14px 16px; border-radius: 20px; background: var(--paper); border: var(--stroke); box-shadow: 4px 4px 0 var(--tint); }
.days li:nth-child(2) { --tint: var(--berry); } .days li:nth-child(3) { --tint: var(--sky); }
.days li:nth-child(4) { --tint: var(--grape); } .days li:nth-child(5) { --tint: var(--leaf); }
.days b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.days span { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 선생님 명단 ---------- */
.teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.team { --tint: var(--tang); padding: 26px 28px; border-radius: 28px; background: var(--paper); border: var(--stroke); box-shadow: 6px 6px 0 var(--tint); }
.team.du { --tint: var(--sky); }
.team .head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.team .head img { width: 56px; border-radius: 50%; border: 2px solid var(--ink); }
.team h3 { font-size: 1.6rem; }
.team ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.team li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--tint) 12%, #fff); border: 2px solid var(--ink); }
.team li .ic { width: 34px; height: 34px; }
.team li b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.2; }
.team li small { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.3; }
@media (max-width: 760px) { .teams { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .team ul { grid-template-columns: 1fr; } }

.video-ph {
  display: grid; place-content: center; justify-items: center; gap: 8px; aspect-ratio: 16 / 6; max-width: 860px; margin-top: 26px; padding: 20px; text-align: center;
  border-radius: 26px; border: 3px dashed color-mix(in srgb, var(--grape) 70%, var(--ink)); background: var(--grape-soft); color: var(--ink-soft);
}
.video-ph .play { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: var(--stroke); box-shadow: 3px 3px 0 var(--ink); }
.video-ph .play::before { content: ""; margin-left: 5px; border-left: 18px solid var(--berry); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-ph b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
@media (max-width: 600px) { .video-ph { aspect-ratio: 4 / 3; } }

/* ---------- 정원 · 자격 ---------- */
.cls-card .cap { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 999px; border: 2px dashed var(--ink); font-weight: 700; font-size: .9rem; }
.qual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.qual .who { font-family: var(--display); font-size: 1.15rem; margin-bottom: 8px; display: block; }
@media (max-width: 760px) { .qual { grid-template-columns: 1fr; } }
.quote {
  margin-top: 26px; padding: 22px 26px; border-radius: 26px; background: var(--paper); border: var(--stroke); box-shadow: 5px 5px 0 var(--sun);
  font-size: 1.02rem; line-height: 1.8;
}
.quote b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; display: block; margin-bottom: 4px; }

/* ---------- 실제 사진 폴라로이드 ---------- */
.polaroid > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* ---------- 방학 (공동체별) ---------- */
.breaks-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.breaks-2 .team ul { grid-template-columns: 1fr; }
@media (max-width: 760px) { .breaks-2 { grid-template-columns: 1fr; } }

.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.cap-grid div { padding: 10px 8px; text-align: center; border-radius: 16px; border: 2px solid var(--ink); background: var(--tang-soft); }
.cap-grid div.total { background: var(--tang-deep); color: #fff; }
.cap-grid small { display: block; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.cap-grid b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
@media (max-width: 520px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.video-embed { aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; border: var(--stroke); box-shadow: 6px 6px 0 var(--grape); background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 학부모 이야기 ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 0; overflow: hidden;
  border-radius: 32px; background: var(--paper); border: var(--stroke); box-shadow: 8px 8px 0 var(--sky);
}
.story-side {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 34px;
  background: radial-gradient(circle at 85% 15%, #fff8 0 46px, transparent 47px), var(--sky-soft); border-right: var(--stroke);
}
.story-side .ic { width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.story .pull { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.4; color: var(--sky-deep); }
.story .who { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.story .who b { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.story-body { padding: 40px 42px; display: grid; gap: 14px; align-content: center; }
.story-body p { color: var(--ink); line-height: 1.9; }
.story-teaser { box-shadow: 8px 8px 0 var(--berry); }
.story-teaser .story-side { background: radial-gradient(circle at 85% 15%, #fff8 0 46px, transparent 47px), var(--berry-soft); }
.story-teaser .pull { color: #c2335a; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story-side { border-right: 0; border-bottom: var(--stroke); padding: 28px 24px; }
  .story-body { padding: 26px 24px; }
}

.video-fig { max-width: 860px; margin: 26px 0 0; }
.video-fig.center { margin-inline: auto; }
.video-fig figcaption { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.video-fig.center figcaption { justify-content: center; }
.video-fig figcaption .ic { width: 26px; height: 26px; }

.video-poster { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #fff; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-poster .play-btn {
  position: absolute; left: 40%; top: 80%; width: 84px; height: 84px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--berry); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink);
  transition: transform .15s;
}
.video-poster .play-btn::before { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-40%, -50%);
  border-left: 30px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.video-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-poster:focus-visible { outline: 4px dashed var(--sky-deep); outline-offset: -8px; }
@media (max-width: 600px) { .video-poster .play-btn { width: 50px; height: 50px; border-width: 3px; } .video-poster .play-btn::before { border-left-width: 17px; border-top-width: 10px; border-bottom-width: 10px; } }

.team ul.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .team ul.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 하위 화면 첫 영역 2단 ---------- */
.page-hero.has-side .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .page-hero.has-side .wrap { grid-template-columns: 1fr; gap: 32px; } }

.collage { position: relative; width: min(560px, 100%); aspect-ratio: 5 / 4; justify-self: center; }
.collage .polaroid { position: absolute; width: 56%; padding: 10px 10px 40px; box-shadow: 6px 6px 0 var(--tint, var(--sun)); }
.collage .polaroid figcaption { bottom: 8px; font-size: 1.15rem; }
.collage .p1 { --tint: var(--berry); left: 0; top: 6%; transform: rotate(-5deg); }
.collage .p2 { --tint: var(--sky); right: 0; top: 0; transform: rotate(4deg); }
.collage .p3 { --tint: var(--leaf); left: 24%; bottom: 0; transform: rotate(-1.5deg); z-index: 2; }
@media (max-width: 560px) { .collage .polaroid { padding: 6px 6px 30px; } .collage .polaroid figcaption { font-size: .95rem; bottom: 5px; } }

.quick { display: grid; gap: 16px; width: min(500px, 100%); justify-self: end; }
.quick a {
  --tint: var(--sun); display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 24px;
  background: var(--paper); border: var(--stroke); box-shadow: 5px 5px 0 var(--tint); text-decoration: none; transition: transform .15s;
}
.quick a:hover { transform: translateY(-3px); }
.quick .ic { width: 56px; height: 56px; padding: 9px; border-radius: 18px; background: color-mix(in srgb, var(--tint) 22%, #fff); border: 2px solid var(--ink); }
.quick b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.quick small { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 2px; }

.side-card {
  --tint: var(--sun); justify-self: end; width: min(480px, 100%); padding: 28px 30px; border-radius: 30px;
  background: var(--paper); border: var(--stroke); box-shadow: 8px 8px 0 var(--tint);
}
.side-card .eyebrow { margin-bottom: 4px; }
.dd-big { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.dd-big b { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: #d6335f; }
.dd-big span { font-family: var(--display); font-size: 1.2rem; color: var(--ink-soft); }
.side-steps li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-top: 2px dashed var(--line); }
.side-steps b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--tang-deep); }
.side-steps span { color: var(--ink); }
.side-who { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; }
.side-who .ic { width: 52px; height: 52px; flex: none; padding: 10px; border-radius: 50%; background: var(--berry-soft); color: var(--berry); border: 2px solid var(--ink); }
.side-who b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.side-who span { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.side-info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; margin: 0; padding: 16px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.side-info dt { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 1.05rem; }
.side-info dt img { width: 28px; border-radius: 50%; border: 1.5px solid var(--ink); }
.side-info dd { margin: 0; align-self: center; }
.side-info a { font-weight: 800; color: var(--ink); }
.side-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 900px) { .side-card, .quick { justify-self: stretch; width: 100%; } }

/* ---------- 드림업: 말씀·비전 한 장 ---------- */
.vision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 30px; overflow: hidden; background: var(--paper); border: var(--stroke); box-shadow: 8px 8px 0 var(--sky); }
.v-col { padding: 30px 34px; text-align: center; }
.v-col + .v-col { border-left: 2px dashed var(--line); }
.v-lbl { display: inline-block; padding: 2px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--sun); font-family: var(--display); font-size: 1rem; }
.v-verse { margin-top: 12px; font-family: var(--hand); font-weight: 700; font-size: 1.55rem; line-height: 1.4; }
.v-col cite { display: block; margin-top: 6px; font-style: normal; font-weight: 800; font-size: .85rem; color: var(--leaf-deep); }
.v-text { margin-top: 12px; font-family: var(--display); font-size: 1.45rem; line-height: 1.45; }
@media (max-width: 700px) { .vision { grid-template-columns: 1fr; } .v-col + .v-col { border-left: 0; border-top: 2px dashed var(--line); } }

/* ---------- 드림업: 교육 목표 한 줄 ---------- */
.goals { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; border-radius: 24px; background: var(--paper); border: 2.5px dashed color-mix(in srgb, var(--sun) 60%, var(--ink)); }
.goals-lbl { padding: 4px 16px; border-radius: 999px; background: var(--sun); border: 2px solid var(--ink); font-family: var(--display); font-size: 1.1rem; }
.goals ul { display: flex; flex-wrap: wrap; gap: 10px; }
.goals li { padding: 6px 14px; border-radius: 999px; background: var(--sun-soft); font-weight: 700; font-size: .95rem; }
