/* =========================================================
   나래유치원 — 공개 사이트 스타일
   브랜드 컬러는 면/장식에, 글자는 대비 4.5:1 이상 파생 톤 사용
   ========================================================= */
:root {
  --green: #8CC63F;        /* 브랜드: 잎 */
  --green-soft: #EEF7E2;
  --green-text: #3F7A2A;   /* 흰 배경 대비 5.2:1 */
  --orange: #E8774A;       /* 브랜드: 줄기·포인트 */
  --orange-text: #C2562B;  /* 흰 글자 대비 4.5:1 */
  --yellow: #FFE08A;       /* 브랜드: 별 */
  --yellow-soft: #FFF6D6;
  --brown: #8A5A33;        /* 브랜드: 땅 */
  --ink: #3B2F25;
  --ink-2: #6B5D50;
  --cream: #FFFBF0;
  --line: #EDE5D6;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 2px 4px rgba(59,47,37,.04), 0 10px 30px rgba(59,47,37,.07);
  --wrap: 1160px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.7; font-size: 16px; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.site-nav ul a:hover { background: var(--green-soft); }
.site-nav ul a[aria-current="page"] { background: var(--green); color: var(--ink); }
.nav-call { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.nav-call:hover { background: #FFD45E; color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .brand img { height: 34px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 14px; font-size: 17px; }
  .nav-call { justify-content: center; padding: 12px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: #7DB635; color: var(--ink); }
.btn-accent { background: var(--orange-text); color: #fff; }
.btn-accent:hover { background: #A94820; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF3C9 0%, var(--cream) 100%); padding: 72px 0 120px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown); background: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--green-text); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .32em; background: var(--yellow); z-index: -1; border-radius: 4px; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { position: relative; justify-self: center; width: min(400px, 80%); }
.hero-art .blob { position: absolute; inset: 6% 2% 10% 2%; background: radial-gradient(circle at 50% 40%, #fff 0, #fff 50%, transparent 72%); border-radius: 50%; }
.hero-art img { position: relative; width: 100%; animation: sway 6s ease-in-out infinite; transform-origin: 50% 90%; }
.hero-ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; color: var(--cream); }
.hero .dot { position: absolute; border-radius: 50%; opacity: .6; }
.hero .dot.d1 { width: 14px; height: 14px; background: var(--orange); top: 18%; left: 6%; }
.hero .dot.d2 { width: 22px; height: 22px; background: var(--green); top: 70%; left: 44%; opacity: .35; }
.hero .dot.d3 { width: 10px; height: 10px; background: var(--brown); top: 12%; right: 10%; opacity: .35; }
@keyframes sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero { padding: 40px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; width: 200px; }
  .hero .dot.d2 { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 16px 0 0 -2px var(--yellow); margin-right: 14px; }
.section-head .more { font-weight: 700; text-decoration: none; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.section-head .more:hover { color: var(--green-text); }
.section-head .more::after { content: " →"; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Video ---------- */
.video-section { background: #fff; }
.video-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.video-layout.single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1d1813; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #1d1813 center / cover no-repeat; }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; z-index: 1; }
.yt-facade:hover .yt-play { transform: scale(1.08); }
.yt-play svg { margin-left: 5px; }
.yt-title { position: absolute; left: 20px; right: 20px; bottom: 16px; color: #fff; font-weight: 700; text-align: left; z-index: 1; font-size: 17px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.video-list { display: flex; flex-direction: column; gap: 12px; }
.video-list button { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; text-align: left; padding: 8px; border: 0; background: var(--cream); border-radius: var(--radius-sm); cursor: pointer; font: inherit; color: var(--ink); }
.video-list button:hover, .video-list button[aria-pressed="true"] { background: var(--green-soft); }
.video-list img { width: 128px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.video-list span { font-weight: 600; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-channel { margin-top: 4px; }
@media (max-width: 860px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .video-list button { grid-template-columns: 1fr; min-width: 200px; scroll-snap-align: start; }
  .video-list img { width: 100%; }
}

/* ---------- Home grid ---------- */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; } }
.notice-mini { list-style: none; margin: 0; padding: 8px 24px; }
.notice-mini li + li { border-top: 1px dashed var(--line); }
.notice-mini a { display: flex; gap: 12px; align-items: baseline; padding: 15px 0; text-decoration: none; color: var(--ink); }
.notice-mini a:hover .t { color: var(--green-text); text-decoration: underline; }
.notice-mini .t { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-mini time { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--orange-text); color: #fff; vertical-align: 2px; flex: none; }
.badge-new { background: var(--yellow); color: var(--ink); }
.empty { padding: 48px 24px; text-align: center; color: var(--ink-2); }
.photo-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-mini a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--green-soft); }
.photo-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-mini a:hover img { transform: scale(1.05); }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-strip .card { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.info-strip .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.info-strip .ic.g { background: var(--green-soft); color: var(--green-text); }
.info-strip .ic.o { background: #FDE9DF; color: var(--orange-text); }
.info-strip .ic.y { background: var(--yellow-soft); color: var(--brown); }
.info-strip strong { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.info-strip span, .info-strip a { font-weight: 700; color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .info-strip { grid-template-columns: 1fr; } }

/* ---------- Sub page ---------- */
.page-hero { background: var(--green-soft); padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0; }
.page-hero p { margin: 6px 0 0; color: var(--ink-2); }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px; background: url("../img/mark.svg") center / contain no-repeat; opacity: .18; }
.crumb { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.crumb a { color: inherit; text-decoration: none; }
.page-body { padding: 48px 0 80px; }

/* Notice list */
.board-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.board-tools .count { color: var(--ink-2); font-size: 15px; }
.search { display: flex; gap: 6px; }
.search input { width: 240px; max-width: 60vw; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.search input:focus { border-color: var(--green); outline: none; }
.search button { padding: 10px 18px; }
.board { list-style: none; margin: 0; padding: 0; }
.board li + li { border-top: 1px solid var(--line); }
.board a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 18px 24px; text-decoration: none; color: var(--ink); }
.board a:hover { background: #FFFDF7; }
.board a:hover .tt { color: var(--green-text); text-decoration: underline; }
.board .no { color: var(--ink-2); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.board .tt { font-weight: 600; font-size: 16.5px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.board .tt b { font-weight: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .clip { color: var(--ink-2); flex: none; }
.board time { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.board li.pinned a { background: #FFFBEA; }
@media (max-width: 640px) {
  .board a { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .board .no { display: none; }
}

/* Notice view */
.article { padding: 36px 40px; }
.article-head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 28px; }
.article-head h2 { font-size: clamp(22px, 3vw, 28px); margin: 6px 0 8px; }
.article-meta { color: var(--ink-2); font-size: 14.5px; display: flex; gap: 16px; }
.article-body { font-size: 17px; line-height: 1.85; min-height: 120px; }
.article-body img { border-radius: var(--radius-sm); margin: 16px 0; }
.attach { margin-top: 32px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-sm); }
.attach h3 { font-size: 15px; margin: 0 0 8px; }
.attach ul { list-style: none; margin: 0; padding: 0; }
.attach a { display: inline-flex; gap: 8px; align-items: center; padding: 4px 0; font-weight: 600; }
.attach small { color: var(--ink-2); font-weight: 400; }
.article-nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adjacent { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.adjacent li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.adjacent span { color: var(--ink-2); font-size: 14px; }
.adjacent a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adjacent a:hover { color: var(--green-text); text-decoration: underline; }
@media (max-width: 640px) { .article { padding: 24px 20px; } }

/* Gallery */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.album-card { display: block; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(59,47,37,.12); color: var(--ink); }
.album-card .cover { aspect-ratio: 4 / 3; background: var(--green-soft) url("../img/mark.svg") center / 30% no-repeat; position: relative; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card .cnt { position: absolute; right: 12px; bottom: 12px; background: rgba(59,47,37,.78); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.album-card .meta { padding: 16px 18px 18px; }
.album-card h3 { font-size: 17px; margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-card time { font-size: 14px; color: var(--ink-2); }
.album-desc { margin: 0 0 24px; color: var(--ink-2); font-size: 16.5px; }
.photo-grid { columns: 3 260px; column-gap: 14px; }
.photo-grid a { display: block; margin-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; background: var(--green-soft); }
.photo-grid img { width: 100%; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,12,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Pager */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; padding: 0 8px; }
.pager a:hover { background: var(--green-soft); }
.pager span[aria-current] { background: var(--ink); color: #fff; }

/* Prose (소개 등 정적 페이지) */
.prose { padding: 40px; font-size: 17px; line-height: 1.9; }
.prose h2 { font-size: 24px; margin-top: 1.6em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose .placeholder { background: var(--yellow-soft); border: 2px dashed #F1C84B; border-radius: var(--radius-sm); padding: 16px 20px; color: var(--brown); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.values div { background: var(--cream); border-radius: var(--radius-sm); padding: 20px; }
.values b { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .prose { padding: 24px 20px; } }
.map-box { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); display: grid; place-items: center; color: var(--ink-2); text-align: center; padding: 20px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #E9E1D6; margin-top: 60px; padding: 40px 0 24px; }
.footer-arc { position: absolute; left: 0; right: 0; top: -59px; width: 100%; height: 60px; color: var(--ink); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-brand img { height: 40px; width: auto; }
.footer-info { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.footer-info div { display: flex; gap: 12px; }
.footer-info dt { color: #B9AC9C; min-width: 34px; }
.footer-info dd { margin: 0; }
.footer-info a, .footer-links a { color: #fff; text-decoration: none; }
.footer-links { display: flex; gap: 16px; font-size: 14px; }
.footer-links a:hover, .footer-info a:hover { text-decoration: underline; color: #fff; }
.footer-admin { color: #B9AC9C !important; }
.copy { font-size: 13px; color: #B9AC9C; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; gap: 20px; } }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.flash-ok { background: var(--green-soft); color: var(--green-text); }
.flash-err { background: #FDE9DF; color: #9C3D16; }

/* =========================================================
   v2: 기존 콘텐츠 이식 섹션
   ========================================================= */
.nav-extra { display: flex; align-items: center; gap: 8px; }
.sns { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; text-decoration: none; }
.sns-blog { background: #03C75A; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: -.02em; }
.sns-yt { background: #FFECEC; color: #E62117; }
.sns:hover { transform: translateY(-1px); color: inherit; }
.sns-blog:hover { color: #fff; }
.sns-yt:hover { color: #E62117; }
.site-nav { gap: 18px; }
.site-nav ul a { padding: 8px 12px; font-size: 15.5px; }
@media (max-width: 1180px) { .nav-call { display: none; } }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-inner { height: 64px; }
  .brand img { height: 34px; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 14px; font-size: 17px; }
  .nav-extra { justify-content: center; padding-top: 8px; border-top: 1px dashed var(--line); }
  .nav-call { display: inline-flex; flex: 1; justify-content: center; padding: 11px; }
}

/* Hero photo */
.hero-copy h1 { font-size: clamp(30px, 4.4vw, 50px); }
.hero-photo { position: relative; justify-self: end; width: min(520px, 100%); aspect-ratio: 5 / 4; }
.hero-photo img:not(.hero-badge) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 20px 50px rgba(59,47,37,.18); opacity: 0; transition: opacity 1.2s ease; border: 8px solid #fff; }
.hero-photo img.on { opacity: 1; }
.hero-badge { position: absolute; left: -14px; bottom: -6px; width: 92px; height: auto; background: #fff; border-radius: 50%; padding: 10px 14px 6px; box-shadow: var(--shadow); z-index: 2; }
@media (max-width: 860px) {
  .hero-photo { order: -1; justify-self: center; width: min(420px, 92%); }
  .hero-badge { width: 70px; left: -6px; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .5; }
.f-green::after { background: var(--green-soft); } .f-orange::after { background: #FDE9DF; } .f-yellow::after { background: var(--yellow-soft); }
.f-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 16px; }
.f-green .f-ic { background: var(--green); color: var(--ink); }
.f-orange .f-ic { background: var(--orange); color: #fff; }
.f-yellow .f-ic { background: var(--yellow); color: var(--brown); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr; } }

/* Common blocks */
.section-sm { padding: 48px 0 0; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 800; color: var(--orange-text); letter-spacing: .02em; margin-bottom: 6px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }

/* About - greeting */
.greet { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 48px; align-items: center; }
.greet h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 20px; }
.greet p { font-size: 17px; line-height: 1.9; margin: 0 0 12px; }
.greet .quote { font-size: 19px; font-weight: 700; color: var(--green-text); background: var(--green-soft); border-radius: 14px; padding: 14px 20px; }
.greet .sign { text-align: right; margin-top: 20px; }
.greet-img img { width: 100%; border-radius: var(--radius); }
.app-box { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 36px 40px; margin-top: 48px; }
.app-box h2 { font-size: 24px; } .app-box p { color: var(--ink-2); }
.app-img { width: 100%; border-radius: var(--radius-sm); }
@media (max-width: 860px) { .greet, .app-box { grid-template-columns: 1fr; padding: 28px 22px; } .app-img { max-width: 220px; } }

/* Nature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.split-text { padding: 48px; }
.split-text h2 { font-size: clamp(24px, 3vw, 30px); }
.split-text p { font-size: 17px; line-height: 1.9; }
.split-img { margin: 0; min-height: 320px; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-big { display: inline-flex; align-items: baseline; gap: 4px; margin-top: 12px; padding: 14px 22px; border-radius: 16px; background: var(--yellow-soft); }
.stat-big b { font-size: 34px; color: var(--brown); }
.stat-big span { margin-left: 10px; color: var(--ink-2); font-size: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); }
.chips li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 9px; vertical-align: 1px; }
.chips li:nth-child(3n+2)::before { background: var(--orange); } .chips li:nth-child(3n)::before { background: var(--brown); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-text { padding: 28px 22px; } .split-img { min-height: 220px; order: -1; } }

/* Program */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program { overflow: hidden; display: flex; flex-direction: column; }
.program-img { position: relative; aspect-ratio: 4 / 3; background: var(--green-soft); }
.program-img img { width: 100%; height: 100%; object-fit: cover; }
.age { position: absolute; left: 16px; top: 16px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.p0 .age { background: var(--yellow); color: var(--ink); } .p1 .age { background: var(--green); color: var(--ink); } .p2 .age { background: var(--orange-text); color: #fff; }
.program-body { padding: 24px 26px 28px; }
.program-body h3 { font-size: 21px; margin-bottom: 4px; }
.program-sub { font-weight: 700; color: var(--green-text); margin: 0 0 12px; }
.program-body p:last-child { margin: 0; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 960px) { .programs { grid-template-columns: 1fr; } .program { flex-direction: row; } .program-img { flex: 0 0 38%; aspect-ratio: auto; } }
@media (max-width: 600px) { .program { flex-direction: column; } .program-img { aspect-ratio: 16/10; } }

/* Admission */
.admit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.admit-card { overflow: hidden; }
.admit-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.admit-body { padding: 24px 26px 28px; position: relative; }
.step { font-weight: 900; font-size: 15px; color: var(--orange-text); }
.admit-body h2 { font-size: 22px; margin: 2px 0 12px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 17px; }
.list li:first-child { border-top: 0; }
.admit mark { background: linear-gradient(transparent 55%, var(--yellow) 55%); color: inherit; font-weight: 700; }
.call-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 40px; margin-top: 32px; background: var(--green-soft); box-shadow: none; flex-wrap: wrap; }
.call-box h2 { margin: 0 0 4px; font-size: 24px; } .call-box p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .admit { grid-template-columns: 1fr; } .call-box { padding: 24px; } .call-box .btn { width: 100%; } }

/* Location */
.loc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.loc-map { overflow: hidden; }
.loc-map img { width: 100%; }
.loc-info { padding: 32px; }
.loc-info dl { margin: 0 0 24px; display: grid; gap: 16px; }
.loc-info dt { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.loc-info dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.loc-info dd a { color: var(--ink); text-decoration: none; }
.loc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } }

/* Blog + channel card */
.blog-section { padding-top: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s; }
.blog-card:hover { transform: translateY(-4px); color: var(--ink); }
.blog-thumb { aspect-ratio: 16 / 10; background: #E7F7EE url("../img/mark.svg") center / 22% no-repeat; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 16px; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body time { margin-top: auto; font-size: 13px; color: var(--ink-2); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .blog-grid { grid-template-columns: 1fr; } }
.channel-card { display: flex; align-items: center; gap: 18px; padding: 24px 28px; text-decoration: none; color: var(--ink); }
.channel-card:hover { box-shadow: 0 0 0 2px var(--green); color: var(--ink); }
.channel-card b { display: block; font-size: 18px; }
.channel-card small { color: var(--ink-2); font-size: 15px; }
.yt-logo { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #FFECEC; color: #E62117; }
.blog-logo { background: #03C75A; color: #fff; font-weight: 900; font-size: 28px; }

/* Footer extra */
.footer-brand p { margin: 8px 0 0; color: #B9AC9C; font-size: 14px; }
.footer-info dt { min-width: 64px; }
.fax { color: #B9AC9C; }
.copy a { color: #B9AC9C; }

/* Popup */
.popup { position: fixed; inset: 0; z-index: 300; background: rgba(20,16,12,.55); display: grid; place-items: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup-box { background: #fff; border-radius: 16px; overflow: hidden; max-width: 702px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.popup-box img { width: 100%; max-height: 75vh; object-fit: contain; }
.popup-foot { display: flex; border-top: 1px solid var(--line); }
.popup-foot button { flex: 1; border: 0; background: #fff; padding: 14px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.popup-foot button + button { border-left: 1px solid var(--line); }
.popup-foot button:hover { background: var(--cream); }

/* Instagram */
.sns-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.sns-ig:hover { color: #fff; }
.ig-section { padding-top: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.ig-item .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important; border: 0 !important; background: #fff !important; }
.ig-item blockquote.instagram-media { padding: 40px 20px; text-align: center; }
.ig-logo { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
@media (max-width: 960px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ig-grid { grid-template-columns: 1fr; } }

/* 지도 앱 선택 (모바일) */
.map-sheet { position: fixed; inset: 0; z-index: 400; background: rgba(20,16,12,0); display: flex; align-items: flex-end; visibility: hidden; transition: background .2s, visibility .2s; }
.map-sheet.open { background: rgba(20,16,12,.5); visibility: visible; }
.map-sheet-box { width: 100%; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s ease; }
.map-sheet.open .map-sheet-box { transform: none; }
.map-sheet-title { margin: 0; font-weight: 800; font-size: 18px; text-align: center; }
.map-sheet-addr { margin: 4px 0 18px; text-align: center; color: var(--ink-2); font-size: 14px; }
.map-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.map-app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border: 0; background: var(--cream); border-radius: 16px; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.map-app:active { transform: scale(.97); }
.map-app i { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 22px; color: #fff; }
.map-naver i { background: #03C75A; } .map-naver i::before { content: "N"; }
.map-kakao i { background: #FEE500; color: #191919; } .map-kakao i::before { content: "K"; }
.map-tmap i { background: linear-gradient(135deg, #2B68F6, #7A3CF3); font-size: 18px; } .map-tmap i::before { content: "T"; font-size: 22px; }
.map-sheet-foot { display: flex; gap: 8px; margin-top: 14px; }
.map-sheet-foot button { flex: 1; padding: 13px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
