/* 몽당 미술학원 — 어린이 미술학원 디자인 샘플 (디코랩)
   구성: 스프링 스케치북. 섹션 하나 = 스케치북 한 장, 위쪽 스프링을 축으로 앞 장이 위로 넘어가며 새 장이 드러난다.
   메뉴 = 스케치북 옆면의 색 인덱스 스티커(모바일은 헤더 아래 가로 띠).
   색은 미술 교실 실물에서: 크레파스 다홍, 스케치북 종이, 연필심, 크라프트 표지, 스프링 철사, 작업대 회색 */
:root {
  --c-crayon: #EE5B3B;        /* 크레파스 다홍 — 주 버튼·체험 신청에만 (theme-color). 글자는 연필심 */
  --c-crayon-deep: #D9472A;
  --c-paper: #FFFDF7;         /* 스케치북 종이 */
  --c-paper-back: #F3EFE6;    /* 앞 장 뒷면 */
  --c-pencil: #2B221D;        /* 연필심 — 본문 글자 */
  --c-graphite: #5E554E;      /* 보조 글자 */
  --c-kraft: #C49A66;         /* 크라프트 표지 */
  --c-kraft-deep: #8E6A3E;
  --c-ring: #8C9298;          /* 스프링 철사 */
  --c-desk: #E4E7E1;          /* 작업대 회색 — 페이지 바탕 */
  --c-rule: #E2DCCF;
  --c-kakao: #FEE500;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-hand: "Cute Font", var(--font);

  --fs-h1: clamp(3.3rem, 2.4rem + 4vw, 5.6rem);
  --fs-h2: clamp(2.6rem, 2.1rem + 2vw, 3.7rem);
  --fs-h3: 1.85rem;
  --fs-body: 1rem;
  --fs-small: .875rem;

  --book: calc(100vw - 24px);
  --head-h: 58px;
  --strip-h: 50px;
  --gutter: 16px;
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .28 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --coil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='46' viewBox='0 0 32 46'%3E%3Cellipse cx='16' cy='36' rx='5.5' ry='4' fill='%23392F29'/%3E%3Cpath d='M12.5 37C8 24 10 6 17 5s7 18 2.5 31' fill='none' stroke='%23767C82' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M13 31C11 20 12.5 9 16.5 8.4' fill='none' stroke='%23E4E7EA' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root { --book: calc(100vw - 64px); --gutter: 28px; --fs-body: 1.04rem; }
}
@media (min-width: 1180px) {
  :root { --book: min(1040px, calc(100vw - 300px)); --head-h: 66px; --strip-h: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--strip-h) + 30px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--c-pencil);
  background: var(--c-desk);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(66px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
h1, h2, h3 { margin: 0; font-family: var(--font-hand); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--c-pencil); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--c-pencil); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.br-pc { display: none; }
@media (min-width: 900px) { .br-pc { display: inline; } }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed currentColor; border-radius: 3px; opacity: .78; font-size: .92em; line-height: 1.5; }

/* 샘플 안내 띠 */
.sample-banner { background: var(--c-pencil); color: #EDE7DF; font-size: .78rem; line-height: 1.55; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; max-width: 1320px; margin-inline: auto; padding: 7px var(--gutter); }
.sample-banner__tag { flex: none; padding: 0 8px; border-radius: 3px; background: var(--c-crayon); color: var(--c-pencil); font-weight: 700; font-size: .72rem; }
.sample-banner a { color: #FFB49E; font-weight: 600; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px;
  border: 2.5px solid var(--c-pencil); border-radius: 16px 12px 18px 10px;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; color: var(--c-pencil);
  transition: background-color .18s, transform .18s, box-shadow .18s;
}
.btn--crayon { background: var(--c-crayon); box-shadow: 3px 4px 0 var(--c-pencil); }
.btn--crayon:hover { background: #F36B4C; }
.btn--crayon:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--c-pencil); }
.btn--line { background: var(--c-paper); }
.btn--line:hover { background: #fff; }
.btn--kakao { background: var(--c-kakao); border-color: #3A2E00; color: #191919; }

/* ---------- 위 막대: 표지 띠(헤더) + 스티커 띠 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--c-desk); }
.site-header { background: var(--c-kraft) var(--paper-grain); border-bottom: 3px solid var(--c-kraft-deep); }
.site-header__inner {
  display: flex; align-items: center; gap: 14px;
  width: var(--book); margin-inline: auto; height: var(--head-h);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; }
.logo__name { font-family: var(--font-hand); font-size: 1.85rem; line-height: 1; padding-top: 2px; }
.site-header__note { display: none; font-size: .88rem; color: #3E2F22; }
.site-header__tel {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: var(--c-paper); border: 2px solid var(--c-pencil);
  font-weight: 800; font-size: .92rem; text-decoration: none; font-variant-numeric: tabular-nums;
}
.site-header__tel svg { width: 17px; height: 17px; }
@media (max-width: 420px) { .site-header__tel span { display: none; } .site-header__tel { padding: 9px; } }
@media (min-width: 900px) { .site-header__note { display: block; } }

/* 스티커 메뉴 — 모바일·태블릿: 헤더 아래 가로 띠, 지금 장 스티커가 위로 튀어나옴 */
.tabs { height: var(--strip-h); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; border-bottom: 2px solid #CBCFC7; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__list { display: flex; gap: 6px; padding: 9px 12px 0; width: max-content; min-width: 100%; }
@media (min-width: 768px) { .tabs__list { justify-content: center; } }
.tabs a {
  display: block; padding: 7px 13px 12px; white-space: nowrap;
  background: var(--tab); border: 2px solid rgba(43,34,29,.55); border-bottom: 0; border-radius: 12px 14px 0 0;
  font-family: var(--font-hand); font-size: 1.4rem; line-height: 1; text-decoration: none;
  transform: translateY(9px); opacity: .78;
  transition: transform .25s cubic-bezier(.3,1.4,.5,1), opacity .2s;
}
.tabs a:hover { opacity: 1; }
.tabs a.is-active { transform: translateY(0); opacity: 1; border-color: var(--c-pencil); }

/* 데스크톱: 스케치북 오른쪽 옆면에 붙은 색 인덱스, 지금 장 스티커가 오른쪽으로 쏙 */
@media (min-width: 1180px) {
  .tabs { position: fixed; top: calc(var(--head-h) + 96px); left: calc(50% + var(--book) / 2 - 10px); height: auto; overflow: visible; border: 0; z-index: 40; }
  .tabs__list { flex-direction: column; gap: 10px; padding: 0; width: auto; }
  .tabs a {
    width: 118px; padding: 10px 14px 9px 22px; border: 2px solid rgba(43,34,29,.5); border-left: 0;
    border-radius: 0 16px 14px 0; font-size: 1.55rem;
    transform: translateX(-22px); box-shadow: inset 8px 0 0 rgba(255,255,255,.35);
  }
  .tabs a:hover { transform: translateX(-12px); }
  .tabs a.is-active { transform: translateX(6px); box-shadow: inset 8px 0 0 rgba(255,255,255,.35), 3px 3px 0 rgba(43,34,29,.25); }
}

/* ---------- 스케치북 장 ---------- */
.book { width: var(--book); margin: 0 auto; padding: 46px 0 56px; display: flex; flex-direction: column; gap: 52px; overflow-x: clip; }
.sheet {
  position: relative;
  padding: 50px clamp(16px, 4.2vw, 58px) clamp(36px, 5vw, 60px);
  background: var(--c-paper) var(--paper-grain);
  border-radius: 3px 3px 6px 6px;
  box-shadow: 0 2px 0 #D9D3C7, 0 5px 0 #F4F0E8, 0 7px 0 #CFC8BB, 0 12px 18px -10px rgba(43,34,29,.35);
  isolation: isolate;
}
/* 스프링 — 장 위쪽 펀칭 구멍에 걸린 링 */
.sheet::before {
  content: ""; position: absolute; z-index: 8; left: 18px; right: 18px; top: -30px; height: 46px;
  background: var(--coil) space no-repeat; background-size: 32px 46px; pointer-events: none;
}
.sheet > * { position: relative; z-index: 1; }
.sheet > .smudge { position: absolute; z-index: 0; }
.sheet > .flap { position: absolute; z-index: 6; }

/* 귀퉁이 메모: 날짜 · 이름 칸 */
.memo {
  display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; width: max-content;
  margin: -14px 0 18px auto; padding: 4px 10px 6px; border: 1.5px solid #B9B0A2; border-radius: 2px;
  font-size: .72rem; color: var(--c-graphite); background: rgba(255,253,247,.7);
}
.memo__k { letter-spacing: .02em; }
.memo__v { font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.05; color: #3D5FA8; min-width: 5.5em; border-bottom: 1.5px dotted #B9B0A2; }
@media (min-width: 768px) {
  .memo { position: absolute; top: 24px; right: 26px; margin: 0; grid-template-columns: auto auto auto auto; }
}

.sheet__head { max-width: 40em; margin-bottom: 26px; }
.sheet__head h2 { font-size: var(--fs-h2); }
.sheet__lead { margin-top: 10px; color: var(--c-graphite); max-width: 36em; }
.sheet__note { margin-top: 22px; font-size: var(--fs-small); color: var(--c-graphite); padding-left: 14px; border-left: 4px solid #F7C843; }
@media (min-width: 768px) { .sheet__head { padding-right: 330px; max-width: none; } }

/* 물감·크레파스 자국 */
.smudge { pointer-events: none; opacity: .5; }
.smudge--a { width: 230px; height: 190px; left: -40px; bottom: -36px; color: #69A8E6; opacity: .22; }
.smudge--b { width: 160px; height: 64px; right: 30px; bottom: 18px; color: #F7C843; opacity: .55; }
.smudge--c { width: 210px; height: 170px; right: -30px; top: 120px; color: #F59A3C; opacity: .16; }
.smudge--d { width: 150px; height: 60px; left: 24px; bottom: 16px; color: #8CC65A; opacity: .5; }
.smudge--e { width: 260px; height: 200px; left: 30%; top: 70px; color: #F08DB5; opacity: .14; }
.smudge--f { width: 170px; height: 66px; right: 40px; bottom: 14px; color: #A783D8; opacity: .45; }
.smudge--g { width: 220px; height: 180px; right: -20px; bottom: -20px; color: #5FC4B3; opacity: .18; }

/* ---------- 장 넘김 (대표 모션) ---------- */
.flap {
  display: none; inset: 0 0 auto 0; height: min(100%, 94vh);
  background: var(--c-paper-back) var(--paper-grain); border-radius: 3px 3px 6px 6px;
  transform-origin: 50% 0; pointer-events: none;
}
.flap::before { /* 뒷면에 비친 앞 장 그림 */
  content: ""; position: absolute; right: 12%; top: 28%; width: 38%; height: 30%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cg fill='none' stroke='%23C9C0B0' stroke-width='5' stroke-linecap='round'%3E%3Ccircle cx='40' cy='34' r='20'/%3E%3Cpath d='M90 100l40-40 40 40zM10 112c60-10 120-10 180 0'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  transform: scaleX(-1); opacity: .7;
}
.flap::after { /* 들릴 때 생기는 그늘 */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(43,34,29,0) 30%, rgba(43,34,29,.22));
  opacity: 0;
}
.has-motion .flap { display: block; }
.flap.is-turned { animation: page-up 1.05s cubic-bezier(.5,.05,.3,1) forwards; }
.flap.is-turned::after { animation: page-shade 1.05s ease-in forwards; }
.flap.is-gone { visibility: hidden; }
@keyframes page-up {
  0%   { transform: perspective(2600px) rotateX(0deg); opacity: 1; }
  65%  { opacity: 1; }
  100% { transform: perspective(2600px) rotateX(-172deg); opacity: 0; }
}
@keyframes page-shade { to { opacity: 1; } }

/* 표지(크라프트) — 첫 화면에서 넘어가며 첫 장이 드러남 */
.flap--cover { background: var(--c-kraft) var(--paper-grain); display: none; }
.flap--cover::before { display: none; }
.has-motion .flap--cover { display: flex; align-items: center; justify-content: center; }
.cover-label {
  padding: 26px 40px 30px; background: var(--c-paper); border: 3px solid var(--c-pencil); border-radius: 6px;
  text-align: center; transform: rotate(-2deg); box-shadow: 4px 5px 0 rgba(43,34,29,.25);
}
.cover-label__t { font-family: var(--font-hand); font-size: 4.2rem; line-height: 1; color: var(--c-crayon); }
.cover-label__s { font-family: var(--font-hand); font-size: 1.9rem; line-height: 1.2; }
.cover-label__line { margin-top: 10px; font-size: .9rem; color: var(--c-graphite); }
.cover-label__line span { letter-spacing: .05em; }

/* ---------- 장 1: 히어로 ---------- */
.sheet--hero { padding-top: 46px; }
.hero { display: grid; gap: 18px; }
.hero__kicker { display: inline-block; font-weight: 800; font-size: .92rem; padding: 2px 10px; background: #FFE58F; border-radius: 3px; transform: rotate(-1deg); }
.hero h1 { margin-top: 10px; font-size: var(--fs-h1); line-height: .98; }
.hero__lead { margin-top: 14px; font-size: 1.06rem; max-width: 26em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: .9rem; color: var(--c-graphite); }
.hero__facts li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #8CC65A; vertical-align: 1px; }
.hero__art { margin: 0; }
.hero__art svg { width: 100%; height: auto; }
.art-sign { font-family: var(--font-hand); font-size: 26px; fill: #3D5FA8; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 30px; padding-top: 24px; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- 장 2: 반 소개 ---------- */
.classes { display: grid; gap: 18px; }
@media (min-width: 768px) { .classes { grid-template-columns: repeat(5, 1fr); } .klass { grid-column: span 2; } .klass--wide { grid-column: span 3; } }
.klass {
  position: relative; padding: 18px 20px 20px 20px;
  border: 3px solid var(--k); border-radius: 18px 10px 22px 12px;
  background: color-mix(in srgb, var(--k) 9%, transparent);
}
.klass__pic { width: 96px; height: 72px; float: right; margin: -4px -4px 4px 10px; }
.klass__age { display: inline-block; padding: 0 10px; border-radius: 999px; background: var(--k); font-weight: 800; font-size: .85rem; }
.klass h3 { margin-top: 6px; font-size: 2.1rem; }
.klass p:not(.klass__age):not(.klass__meta) { margin-top: 6px; }
.klass__meta { clear: both; margin-top: 12px; padding-top: 8px; border-top: 1.5px dashed #CFC6B5; font-size: var(--fs-small); color: var(--c-graphite); font-variant-numeric: tabular-nums; }

/* ---------- 장 3: 반 찾기 ---------- */
.finder { display: grid; gap: 22px; }
@media (min-width: 900px) { .finder { grid-template-columns: 300px 1fr; gap: 34px; align-items: start; } .finder__pick { position: sticky; top: calc(var(--head-h) + 40px); } }
.finder__pick fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.finder__pick legend { padding: 0; margin-bottom: 8px; font-family: var(--font-hand); font-size: 1.6rem; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 9px 15px; font-size: 1rem; font-weight: 700;
  background: var(--c-paper); border: 2px solid #B9B0A2; border-radius: 14px 10px 16px 9px;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.chip:hover span { border-color: var(--c-pencil); }
.chip input:checked + span { background: #FFE58F; border-color: var(--c-pencil); transform: rotate(-1.5deg); }
.chip--draw input:checked + span { background: #CFE4F8; }
.chip--make input:checked + span { background: #DDEFC9; }
.chip--color input:checked + span { background: #FBD3E3; }
.chip input:focus-visible + span { outline: 3px solid var(--c-pencil); outline-offset: 2px; }
.finder__hint { font-size: var(--fs-small); color: var(--c-graphite); }

.finder__result { display: grid; gap: 18px; }
.pick-card { padding: 16px 20px 18px; border: 3px solid var(--c-pencil); border-radius: 6px 18px 8px 16px; background: #FFF7D6; transform: rotate(-.6deg); }
.pick-card__k { font-size: var(--fs-small); font-weight: 700; color: var(--c-graphite); }
.pick-card__name { font-family: var(--font-hand); font-size: 3rem; line-height: 1; }
.pick-card__time { font-weight: 800; font-variant-numeric: tabular-nums; }
.pick-card__note { margin-top: 4px; color: var(--c-graphite); font-size: .95rem; }
.finder__sub { display: block; font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.1; font-weight: 400; }

.month { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
@media (min-width: 640px) { .month { grid-template-columns: repeat(4, 1fr); } }
.mini { position: relative; }
.mini__page {
  position: relative; aspect-ratio: 4 / 3; background: #fff var(--paper-grain); border: 1.5px solid #CFC6B5; border-radius: 2px 2px 4px 4px;
  box-shadow: 0 2px 0 #E4DED2, 0 4px 0 #D3CCBF;
}
.mini__page::before { content: ""; position: absolute; left: 6px; right: 6px; top: -12px; height: 22px; background: var(--coil) repeat-x center top / 15px 22px; }
.mini__page svg { position: absolute; inset: 10px 6px 4px; width: calc(100% - 12px); height: calc(100% - 14px); }
.mini__wk { margin-top: 8px; font-size: .78rem; font-weight: 800; color: var(--c-crayon-deep); }
.mini__t { font-size: .95rem; font-weight: 700; line-height: 1.4; }
.mini .ln { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mini .fl { opacity: 1; }
.has-motion .month.is-drawing .ln { animation: draw-line .9s ease-out both; animation-delay: calc(var(--d, 0) * 1s); }
.has-motion .month.is-drawing .fl { animation: fill-in .4s ease-out both; animation-delay: calc(var(--d, 0) * 1s + .55s); }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fill-in { from { opacity: 0; } to { opacity: 1; } }
.finder__tool { font-size: .92rem; color: var(--c-graphite); }

.bag { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding: 16px; border: 2px dashed #CFC6B5; border-radius: 12px; }
@media (min-width: 640px) { .bag { grid-template-columns: 150px 1fr; } }
.bag__item { opacity: 0; transform: translateY(26px); transition: opacity .25s, transform .3s cubic-bezier(.3,1.5,.5,1); }
.bag__item.is-in { opacity: 1; transform: none; }
.bag__count { font-family: var(--font); font-size: .9rem; font-weight: 800; color: var(--c-graphite); margin-left: 6px; font-variant-numeric: tabular-nums; }
.bag__list { margin-top: 8px; display: grid; gap: 4px; }
.bag__list label { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.bag__list input { width: 20px; height: 20px; accent-color: var(--c-crayon-deep); }
.bag__list small { color: var(--c-graphite); }
.bag__note { margin-top: 8px; font-size: var(--fs-small); color: var(--c-graphite); }

.ask__msg {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; resize: vertical;
  font: inherit; font-size: 1rem; line-height: 1.7; color: var(--c-pencil);
  background: repeating-linear-gradient(transparent 0 26.2px, #D9E3F1 26.2px 27.2px) #fff; background-position: 0 10px;
  border: 2px solid #B9B0A2; border-radius: 6px;
}
.ask__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- 장 4: 첫 수업까지 ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.step { position: relative; padding: 4px 0 0 58px; }
@media (min-width: 768px) { .step { padding: 64px 0 0; } }
.step__no {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center;
  font-family: var(--font-hand); font-size: 2rem; line-height: 1;
  border: 3px solid var(--c-pencil); border-radius: 48% 52% 45% 55%; background: #DDEFC9;
}
@media (min-width: 768px) {
  .step:not(:last-child)::after { /* 크레파스 화살표 */
    content: ""; position: absolute; top: 18px; left: 58px; right: -14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8C30 4 70 10 112 6M104 1l10 6-10 6' fill='none' stroke='%238CC65A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  }
}
.step h3 { font-size: 1.9rem; }
.step p { margin-top: 4px; font-size: .96rem; }
.teacher { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; margin-top: 30px; padding: 16px; border-radius: 10px; background: #F6F2E9; }
@media (min-width: 768px) { .teacher { grid-template-columns: 120px 1fr; max-width: 760px; } }
.teacher__pic { width: 100%; height: auto; }
.teacher__name { font-weight: 800; }
.teacher__desc { font-size: .93rem; color: var(--c-graphite); }
.teacher__quote { margin-top: 6px; font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.2; color: #3D5FA8; }

/* ---------- 장 5: 작품 벽 ---------- */
.wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; padding-top: 8px; }
@media (min-width: 768px) { .wall { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } }
.art { position: relative; transform: rotate(var(--r)); }
.art::before { /* 마스킹테이프 */
  content: ""; position: absolute; z-index: 2; top: -11px; left: 50%; width: 74px; height: 22px; margin-left: -37px;
  background: rgba(247, 222, 150, .82); transform: rotate(calc(var(--r) * -2)); clip-path: polygon(3% 0, 97% 6%, 100% 92%, 0 100%);
}
.art svg { width: 100%; height: auto; border: 1px solid #DDD5C6; box-shadow: 0 3px 6px rgba(43,34,29,.12); }
.art__cap { margin-top: 8px; font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.1; }
.art__cap span { display: block; font-family: var(--font); font-size: .78rem; color: var(--c-graphite); }

/* ---------- 장 6: 시간표 ---------- */
.table-wrap { overflow-x: auto; }
.timetable { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { padding: 12px 10px; text-align: left; border-bottom: 1.5px solid var(--c-rule); font-size: .95rem; }
.timetable thead th { font-family: var(--font-hand); font-size: 1.5rem; font-weight: 400; border-bottom: 3px solid var(--c-pencil); }
.timetable tbody th { font-weight: 800; border-left: 8px solid var(--k); }
.timetable small { display: block; font-weight: 500; font-size: .8rem; color: var(--c-graphite); }
.fees { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 900px) { .fees { grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; } }
.fee { margin: 0; display: grid; gap: 8px; }
.fee div { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; }
.fee dt { font-weight: 800; }
.fee dd { margin: 0; }
.fee__note { font-size: var(--fs-small); color: var(--c-graphite); padding: 12px 14px; background: #F6F2E9; border-radius: 8px; }

/* ---------- 장 7: FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 2px solid #D4CBBB; border-radius: 12px 8px 14px 10px; background: rgba(255,255,255,.6); }
.faq details[open] { border-color: #F08DB5; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-family: var(--font-hand); font-size: 2rem; line-height: 1; color: #C2457A; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 16px 16px; color: var(--c-graphite); }

/* ---------- 장 8: 오시는 길 ---------- */
.visit { display: grid; gap: 22px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: start; } }
.map { margin: 0; }
.map svg { width: 100%; height: auto; border: 2px solid #D4CBBB; border-radius: 6px; }
.map__t { font-family: var(--font-hand); font-size: 22px; fill: var(--c-pencil); }
.map__shop { font-family: var(--font-hand); font-size: 25px; fill: #C23A1E; }
.map__bus { font-size: 12px; font-weight: 700; fill: #fff; }
.fig-cap { margin-top: 8px; font-size: var(--fs-small); color: var(--c-graphite); }
.info { margin: 0; display: grid; gap: 8px; }
.info div { display: grid; grid-template-columns: 4em 1fr; gap: 10px; }
.info dt { font-weight: 800; }
.info dd { margin: 0; }
.hours { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-family: var(--font-hand); font-size: 1.6rem; }
.hours th, .hours td { padding: 8px 4px; text-align: left; border-bottom: 1.5px dashed var(--c-rule); }
.hours th { width: 6.5em; }
.hours tr.is-off td { color: var(--c-graphite); }
.hours tr.is-today th::after { content: "오늘"; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #FFE58F; font-size: .75rem; font-weight: 800; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- 뒤표지(푸터) ---------- */
.site-footer { background: var(--c-kraft) var(--paper-grain); border-top: 3px solid var(--c-kraft-deep); color: #2E2219; }
.site-footer__inner { width: var(--book); margin-inline: auto; padding: 34px 0 40px; font-size: .84rem; display: grid; gap: 8px; }
.site-footer__logo { font-family: var(--font-hand); font-size: 2rem; line-height: 1; }
.site-footer__links { display: flex; gap: 14px; }
.site-footer__links .strong { font-weight: 800; }
.site-footer__credit a { font-weight: 700; }

/* ---------- 모바일 하단 연락 바 ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.25fr;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  background: var(--c-paper); border-top: 2px solid var(--c-pencil);
}
.quickbar a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  border: 2px solid var(--c-pencil); border-radius: 12px; font-weight: 800; font-size: .92rem; text-decoration: none;
}
.quickbar svg { width: 18px; height: 18px; }
.quickbar a:nth-child(2) { background: var(--c-kakao); }
.quickbar__cta { background: var(--c-crayon); }
@media (min-width: 900px) { .quickbar { display: none; } }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px;
  background: var(--c-pencil); color: #fff; font-size: .92rem;
}
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  /* 3단계(색·투명도 피드백)는 남긴다 */
  .btn, .chip span, .tabs a, .faq summary::after { transition-duration: .18s !important; }
  .bag__item { transition-property: opacity !important; transition-duration: .2s !important; transform: none; }
}
