/* 늘봄재가복지센터 — 그림일기
   흰 종이 + 파스텔 번짐 + 연필 선. 본문은 Pretendard, 손글씨(Gaegu · Nanum Pen Script)는 포인트에만. */

:root {
  --paper: #FAF8F2;
  --sheet: rgba(255, 255, 252, .9);
  --ink: #2B2724;
  --text: #3B2B21;
  --muted: #66564A;
  --forest: #2E7D32;
  --forest-d: #256B29;
  --sprout: #8BC34A;
  --pink: #EC4C6B;
  --pink-ink: #C2304F;
  --beige: #EAD3B0;
  --tape: rgba(236, 222, 190, .82);
  --s1: #5A9E3E; --s1-t: #EEF7E7; --s1-d: #3B7524;
  --s2: #E84A6A; --s2-t: #FDEBEF; --s2-d: #BE2E4D;
  --s3: #2A8EE0; --s3-t: #E8F2FC; --s3-d: #1B68AE;
  --s4: #F5920F; --s4-t: #FFF2E1; --s4-d: #A35600;
  --s5: #8A4FC0; --s5-t: #F3EBFB; --s5-d: #6E3DA2;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --hand: 'Gaegu', 'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;
  --pen: 'Nanum Pen Script', 'Gaegu', 'Apple SD Gothic Neo', cursive;
  --wobble: 255px 16px 225px 16px / 16px 225px 16px 255px;
  --wobble-sm: 18px 6px 16px 7px / 7px 16px 6px 18px;
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--s3); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ───── 종이 위 파스텔 번짐 ───── */
.wash { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.wash::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17  0 0 0 0 .14  0 0 0 0 .1  0 0 0 .09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.blob-wrap { position: absolute; width: 50vmax; height: 50vmax; will-change: transform; }
.blob { width: 100%; height: 100%; border-radius: 50%; will-change: transform; }
.bw-1 { left: 12vw; top: -14vmax; }
.bw-2 { right: -16vmax; top: 34vh; }
.bw-3 { left: -20vmax; top: 52vh; }
.b-green { background: radial-gradient(closest-side, rgba(176, 238, 146, .78), rgba(186, 240, 160, .42) 52%, rgba(190, 240, 170, 0) 100%); }
.b-pink  { background: radial-gradient(closest-side, rgba(246, 186, 200, .72), rgba(246, 196, 208, .38) 52%, rgba(246, 200, 210, 0) 100%); }
.b-sky   { background: radial-gradient(closest-side, rgba(176, 212, 236, .74), rgba(186, 216, 238, .4) 52%, rgba(190, 220, 240, 0) 100%); }

/* ───── 머리줄 ───── */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 242, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 1px 0 rgba(43, 39, 36, .14), 0 10px 24px -20px rgba(43, 39, 36, .5); }
.hdr-in { max-width: 1200px; margin: 0 auto; height: var(--hdr-h); padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; min-height: 48px; }
.logo-mark { width: 44px; height: auto; }
.logo-txt { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: #4A2C1F; white-space: nowrap; }
.logo-txt b { color: var(--forest); font-weight: 800; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 650; font-size: 18px; color: var(--text); border-radius: 12px; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 7px; border-radius: 4px; background: rgba(139, 195, 74, .45); transform: scaleX(0) rotate(-1.5deg); transform-origin: left; transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1) rotate(-1.5deg); }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 2.4px solid var(--ink); border-radius: var(--wobble-sm); background: var(--forest); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: 3px 4px 0 var(--beige); white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.hdr-call-s { display: none; }
.hdr-call:hover { transform: translate(-1px, -1px); box-shadow: 5px 6px 0 var(--beige); }

/* ───── 공용 버튼 ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 26px; border: 2.6px solid var(--ink); border-radius: var(--wobble); font-family: var(--sans); font-weight: 800; font-size: 19px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translate(-1px, -2px); }
.btn-call { background: var(--forest); color: #fff; box-shadow: 4px 5px 0 var(--beige); }
.btn-call:hover { box-shadow: 6px 7px 0 var(--beige); }
.btn-call b { font-weight: 900; letter-spacing: .01em; }
.btn-line { background: #fff; color: var(--ink); box-shadow: 4px 5px 0 rgba(43, 39, 36, .12); }
.btn-sm { min-height: 48px; padding: 0 18px; font-size: 17px; }

/* ───── 첫 화면 ───── */
.page { position: relative; z-index: 1; overflow-x: clip; }
.hero { min-height: calc(100vh - var(--hdr-h)); min-height: calc(100svh - var(--hdr-h)); display: grid; place-items: center; padding: 28px 16px 64px; }
.hero-in { position: relative; width: 100%; max-width: 980px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-mark { width: clamp(58px, 5.6vw, 82px); height: auto; overflow: visible; margin-bottom: 6px; }
.brand { display: flex; flex-direction: column; align-items: center; }
.brand-row { position: relative; display: inline-flex; align-items: flex-end; }
.nb-word { width: clamp(250px, 34vw, 470px); height: auto; overflow: visible; }
.brand-sub { font-family: var(--hand); font-weight: 700; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: .5em; margin-right: -.5em; color: #4A2C1F; line-height: 1.3; margin-top: 2px; }

.buddy { position: absolute; left: calc(100% + 4px); bottom: -8px; width: clamp(96px, 8.6vw, 126px); }
.sprout { width: 100%; height: auto; overflow: visible; }
.sp-plant { transform-origin: 60px 72px; }
.sp-leaf-l { transform-origin: 59px 50px; }
.sp-leaf-r { transform-origin: 61px 46px; }
.sp-body { transform-origin: 60px 142px; }
.bubble { position: absolute; bottom: 88%; left: 30%; padding: 6px 14px 8px; background: #fff; border: 2.2px solid var(--ink); border-radius: 14px 10px 16px 9px / 10px 15px 9px 14px; font-family: var(--hand); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--ink); white-space: nowrap; box-shadow: 3px 3px 0 #FFE39B; transform-origin: 20% 100%; }
.bubble::after { content: ""; position: absolute; left: 16px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(40deg) skewX(8deg); }

.h1 { margin-top: clamp(18px, 2.4vw, 30px); font-size: clamp(29px, 4.1vw, 52px); font-weight: 820; letter-spacing: -.035em; line-height: 1.28; color: var(--text); text-wrap: balance; }
.h1-t { display: inline; }
.heart-i { display: inline-block; width: .78em; height: .7em; margin-left: .22em; vertical-align: -.02em; fill: var(--pink); }
.slogan { margin-top: 8px; font-family: var(--pen); font-size: clamp(32px, 3.3vw, 44px); line-height: 1.25; color: var(--forest-d); }
.slogan .heart-i { width: .6em; height: .54em; }
.slogan-t { position: relative; display: inline-block; }
.slogan-t .doodle { color: var(--s4); }

.hero-cta { position: relative; margin-top: clamp(22px, 3vw, 34px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.hero-note { position: absolute; right: calc(100% + 6px); top: -46px; width: 170px; pointer-events: none; }
.hero-note-t { display: block; font-family: var(--pen); font-size: 30px; line-height: 1; color: var(--pink-ink); transform: rotate(-7deg); text-align: left; padding-left: 6px; }
.hero-arrow { width: 118px; margin: 2px 0 0 44px; overflow: visible; }
.hero-arrow path { fill: none; stroke: var(--pink-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ───── 손그림 도형 (main.js 가 크기에 맞춰 그린다) ───── */
.doodle { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: var(--ink); }
.doodle path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.doodle .p2 { opacity: .42; }
.mark { position: relative; display: inline-block; max-width: 100%; }
.mark .doodle { color: var(--pink); }
/* 도형을 못 그렸을 때(JS 꺼짐) — CSS 로 손그림 느낌만 */
html:not(.has-doodle) .sheet { border: 2px solid var(--ink); border-radius: var(--wobble); }
html:not(.has-doodle) .mark { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 8px; }
html:not(.has-doodle) .slogan-t { text-decoration: underline; text-decoration-color: var(--s4); text-decoration-thickness: 3px; text-underline-offset: 6px; }
html:not(.has-doodle) .circled { border: 2px solid var(--pink); border-radius: 50%; padding: 0 6px; }

/* 처음 그리기 전 숨김 — JS 가 준비되면(nb-ready) 풀린다. head 의 3.5초 안전장치가 있다. */
.js:not(.nb-ready) .intro-hide, .js:not(.nb-ready) .wash { opacity: 0; }

/* ───── 일기장 한 장 ───── */
.sec { position: relative; padding: clamp(48px, 7vw, 104px) 16px; scroll-margin-top: calc(var(--hdr-h) - 10px); }
.sheet { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(26px, 4.4vw, 60px); background: var(--sheet); border-radius: 6px; box-shadow: 0 1px 0 rgba(43, 39, 36, .04), 0 26px 50px -36px rgba(80, 56, 30, .45); }
.sheet > .doodle { color: var(--ink); }
.diary-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chip { flex: none; font-family: var(--hand); font-weight: 700; font-size: 19px; line-height: 1; padding: 8px 14px 9px; background: #FFE9A8; border-radius: var(--wobble-sm); color: var(--ink); transform: rotate(-2deg); }
.chip-line { flex: 1; font-family: var(--hand); font-size: 20px; color: var(--muted); line-height: 1.4; border-bottom: 2px dashed rgba(43, 39, 36, .22); padding-bottom: 2px; }
.h2 { font-family: var(--hand); font-weight: 700; font-size: clamp(32px, 3.9vw, 50px); line-height: 1.22; letter-spacing: -.01em; color: var(--ink); margin: 10px 0 22px; text-wrap: balance; }
.h2-sm { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }

/* 테이프 */
.tape { position: absolute; z-index: 3; width: 104px; height: 28px; background: var(--tape); box-shadow: 0 1px 2px rgba(80, 60, 30, .08); clip-path: polygon(2% 4%, 98% 0, 100% 22%, 97% 44%, 100% 64%, 98% 100%, 3% 96%, 0 76%, 3% 52%, 0 30%); pointer-events: none; }
.tape-tl { left: -22px; top: 10px; transform: rotate(-38deg); }
.tape-tr { right: -22px; top: 10px; transform: rotate(36deg); }
.tape-br { right: -20px; bottom: -4px; transform: rotate(-34deg); }
.tape-c { left: 50%; top: -14px; transform: translateX(-50%) rotate(-3deg); }

/* 첫째 장 · 소개 */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.drawbox { position: relative; padding: 28px 18px 30px; }
.polaroid { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; background: #fff; padding: 14px 14px 0; box-shadow: 0 2px 4px rgba(60, 40, 20, .08), 0 24px 40px -26px rgba(60, 40, 20, .5); transform: rotate(-2.4deg); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 672 / 392; object-fit: cover; background: #EEE8DC; }
.polaroid figcaption { font-family: var(--pen); font-size: clamp(25px, 2.4vw, 30px); line-height: 1.2; color: var(--text); text-align: center; padding: 14px 6px 18px; }
.hearts { position: absolute; z-index: 2; right: -6px; top: -10px; width: clamp(64px, 7vw, 92px); overflow: visible; transform: rotate(14deg); }
.hearts path { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hearts path + path { stroke-width: 2; opacity: .6; }
.hearts-sm { right: auto; left: -4px; top: auto; bottom: 18px; width: clamp(42px, 4.4vw, 58px); transform: rotate(-16deg); }
.sparkle { position: absolute; z-index: 2; left: 10px; top: 0; width: 40px; overflow: visible; }
.sparkle path { fill: #FFE39B; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }

.ruled .lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 2.1; color: var(--text); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.1em - 1.5px), rgba(42, 142, 224, .18) calc(2.1em - 1.5px), rgba(42, 142, 224, .18) 2.1em); padding-bottom: 2px; }
.note-card { position: relative; margin-top: 30px; padding: 22px 22px 20px; background: #FFF6D8; border-radius: 3px; font-size: 17.5px; line-height: 1.75; color: var(--text); box-shadow: 0 16px 26px -22px rgba(80, 56, 30, .55); transform: rotate(.8deg); }

/* 둘째 장 · 센터장 */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px clamp(30px, 5vw, 64px); align-items: center; }
.story-grid .h2 { margin-bottom: 10px; }
.hand-quote { font-family: var(--pen); font-size: clamp(29px, 2.7vw, 36px); line-height: 1.38; color: var(--text); transform: rotate(-1.4deg); }
.hands { width: clamp(110px, 12vw, 150px); overflow: visible; }
.hands path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hands .hands-heart { fill: rgba(236, 76, 107, .22); stroke: var(--pink-ink); }
.pink-note { grid-column: 1 / -1; position: relative; margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 3vw, 34px); padding: clamp(28px, 3.6vw, 44px) clamp(22px, 3.4vw, 46px); background: #FDE7ED; border-radius: 4px; box-shadow: 0 22px 36px -28px rgba(150, 50, 80, .45); transform: rotate(.4deg); }
.pink-note p { font-size: clamp(18px, 1.45vw, 19.5px); line-height: 1.9; color: var(--text); }
.circled { position: relative; display: inline-block; white-space: nowrap; margin: 0 5px 0 12px; color: var(--pink-ink); font-weight: 800; }
.nw { white-space: nowrap; }
.circled .doodle { color: var(--pink); }
.pink-note .sign { margin-top: 16px; padding-right: 26px; text-align: right; font-family: var(--hand); font-weight: 700; font-size: 19px; color: var(--muted); }

/* 셋째 장 · 서비스 메모지 */
.svc-head { max-width: 1120px; margin: 0 auto 40px; }
.svc-note { font-family: var(--pen); font-size: clamp(28px, 2.6vw, 34px); line-height: 1.2; color: var(--pink-ink); transform: rotate(-2deg); transform-origin: left; margin-top: -6px; }
.memos { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 46px 30px; counter-reset: memo; }
.memo { grid-column: span 2; position: relative; padding: 42px 26px 30px; border-radius: 3px; background-color: var(--t); box-shadow: 0 2px 3px rgba(60, 40, 20, .06), 0 22px 34px -26px rgba(60, 40, 20, .55); transform: rotate(var(--r, 0deg)); }
.memo.m4 { grid-column: 2 / span 2; }
.memo.m5 { grid-column: 4 / span 2; }
.m1 { --t: var(--s1-t); --c: var(--s1); --cd: var(--s1-d); }
.m2 { --t: var(--s2-t); --c: var(--s2); --cd: var(--s2-d); }
.m3 { --t: var(--s3-t); --c: var(--s3); --cd: var(--s3-d); }
.m4 { --t: var(--s4-t); --c: var(--s4); --cd: var(--s4-d); }
.m5 { --t: var(--s5-t); --c: var(--s5); --cd: var(--s5-d); }
.memo .tape { left: 50%; top: -14px; transform: translateX(-50%) rotate(-4deg); transform-origin: left center; }
.memo:nth-child(even) .tape { transform: translateX(-50%) rotate(3deg); }
.memo-no { position: absolute; right: 20px; top: 16px; font-family: var(--hand); font-weight: 700; font-size: 20px; line-height: 1; color: var(--cd); }
.memo-ico { width: 68px; height: 68px; overflow: visible; margin-bottom: 14px; }
.memo-ico path { fill: none; stroke: var(--c); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.memo-ico .fillable { fill: #fff; }
.memo-ico .heart-fill { fill: var(--c); stroke: var(--cd); }
.memo-t { font-size: 21px; font-weight: 800; line-height: 1.42; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.memo-t::after { content: ""; display: block; width: 46px; height: 6px; margin-top: 10px; border-radius: 4px; background: var(--c); opacity: .55; transform: rotate(-2deg); }
.memo p { font-size: 18px; line-height: 2em; color: var(--text); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(2em - 1.5px), rgba(43, 39, 36, .1) calc(2em - 1.5px), rgba(43, 39, 36, .1) 2em); }

/* 넷째 장 · 소식 */
.sheet-news { max-width: 980px; }
.news-head { margin-bottom: 8px; }
.news li a { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; gap: 6px 18px; min-height: 60px; padding: 16px 6px; text-decoration: none; border-bottom: 2px dashed rgba(43, 39, 36, .2); }
.news li:first-child a { border-top: 2px dashed rgba(43, 39, 36, .2); }
.news time { font-family: var(--hand); font-weight: 700; font-size: 20px; color: var(--muted); }
.news-t { font-weight: 650; font-size: 18.5px; line-height: 1.55; color: var(--text); }
.news a:hover .news-t, .news a:focus-visible .news-t { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; margin-top: 16px; font-family: var(--hand); font-weight: 700; font-size: 21px; color: var(--forest-d); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* 다섯째 장 · 오시는 길 */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.map { position: relative; padding: 14px; background-color: #fff; background-image: linear-gradient(rgba(42, 142, 224, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 142, 224, .1) 1px, transparent 1px); background-size: 24px 24px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(43, 39, 36, .12); }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-label { font-family: var(--hand); font-weight: 700; fill: var(--ink); }
.map figcaption { margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.visit-list > div { padding: 14px 0 16px; border-bottom: 2px dashed rgba(43, 39, 36, .18); }
.visit-list > div:first-child { padding-top: 0; }
.visit-list dt { font-family: var(--hand); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--forest-d); margin-bottom: 4px; }
.visit-list dd { font-size: 18px; line-height: 1.75; }
.visit-list .em { display: inline-block; margin-top: 4px; font-weight: 750; color: var(--pink-ink); }
.visit-list .visit-cta { border-bottom: 0; padding-top: 22px; }

/* 여섯째 장 · 상담 */
.sheet-contact { text-align: center; }
.sheet-contact .diary-head { text-align: left; }
.sheet-contact .h2 { margin-bottom: 8px; }
.call-wrap { padding: 8px 0 10px; }
.call-label { font-family: var(--hand); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); color: var(--forest-d); }
.call-row { position: relative; display: inline-block; margin: 22px 0 18px; }
.call-big { display: inline-block; text-decoration: none; color: var(--ink); padding: 6px 18px; border-radius: 40px; }
.call-num { position: relative; display: inline-block; white-space: nowrap; font-weight: 880; font-size: clamp(32px, 9vw, 82px); letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.call-num .doodle { color: var(--pink); }
.call-big:hover .call-num { color: var(--forest-d); }
.call-point { position: absolute; left: calc(100% + 6px); top: -18px; display: grid; grid-template-columns: auto auto; align-items: end; pointer-events: none; }
.call-arrow { grid-row: 1; grid-column: 1; width: 118px; overflow: visible; }
.call-arrow path { fill: none; stroke: var(--pink-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.call-note { grid-row: 2; grid-column: 1 / -1; font-family: var(--pen); font-size: 30px; line-height: 1; color: var(--pink-ink); transform: rotate(-5deg); text-align: left; padding-left: 26px; white-space: nowrap; }
.sprout-mini { grid-row: 1; grid-column: 2; width: 74px; margin-left: 2px; }
.call-sub { font-size: 20px; font-weight: 700; color: var(--text); }
.call-24 { margin-top: 6px; font-size: 18px; color: var(--muted); }
.contact-cards { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: left; }
.ccard { position: relative; padding: 30px 24px 24px; background: #fff; border-radius: 3px; box-shadow: 0 2px 3px rgba(60, 40, 20, .05), 0 20px 30px -24px rgba(60, 40, 20, .5); }
.ccard:nth-child(1) { transform: rotate(-1.2deg); }
.ccard:nth-child(2) { transform: rotate(.9deg); }
.ccard:nth-child(3) { transform: rotate(-.6deg); }
.ccard .tape { left: 50%; top: -13px; transform: translateX(-50%) rotate(-3deg); width: 88px; height: 24px; }
.ccard h3 { font-family: var(--hand); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--muted); }
.ccard-v { margin: 4px 0 16px; font-weight: 800; font-size: 21px; line-height: 1.4; color: var(--ink); }
.ccard-mail { font-size: 18px; overflow-wrap: anywhere; }
.ccard-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───── 바닥글 ───── */
.ftr { position: relative; padding: 40px 16px 104px; }
.ftr-in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; border-top: 2px dashed rgba(43, 39, 36, .2); padding-top: 34px; }
.ftr-sign { font-family: var(--pen); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.2; color: var(--forest-d); }
.ftr-sign-t { display: inline-block; }
.ftr-info { font-size: 17px; line-height: 1.8; color: var(--muted); text-align: right; }
.ftr-info a { color: var(--text); text-decoration: none; font-weight: 650; white-space: nowrap; }
.ftr-info a:hover { text-decoration: underline; }
.ftr-name { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); }
.ftr-name img { width: 30px; height: auto; }
.ftr-copy { margin-top: 6px; font-size: 16px; }

/* ───── 휴대폰 하단 전화 바 ───── */
.callbar { display: none; }

/* ───── 연필 커서 (데스크톱 선택) ───── */
.cursor-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 60; min-height: 44px; padding: 6px 16px 8px; font-family: var(--hand); font-weight: 700; font-size: 18px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ink); cursor: pointer; }
.cursor-toggle[hidden] { display: none; }
.pencil { position: fixed; left: 0; top: 0; z-index: 9999; width: 52px; height: 52px; pointer-events: none; opacity: 0; will-change: transform; }
html.pencil-on .pencil.seen { opacity: 1; }
html.pencil-on, html.pencil-on * { cursor: none !important; }
.pencil svg { transform-origin: 2px 2px; transition: transform .25s cubic-bezier(.3, .7, .2, 1); }
.pencil.press svg { transform: scale(.9) rotate(-6deg); }
.pencil.over svg { transform: rotate(-12deg) scale(1.08); }

/* ───── 반응형 ───── */
@media (max-width: 1199px) { .lead .d-br { display: none; } }
@media (max-width: 899px) { .d-br { display: none; } }
@media (max-width: 1100px) {
  .hero-note { display: none; }
  .memos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memo, .memo.m4 { grid-column: auto; }
  .memo.m5 { grid-column: 1 / -1; max-width: calc(50% - 15px); justify-self: center; }
  .call-row { display: flex; flex-direction: column-reverse; align-items: center; }
  .call-point { position: static; display: flex; align-items: flex-end; gap: 0; margin-bottom: -8px; }
  .call-note { order: 1; padding: 0 0 22px; }
  .sprout-mini { order: 0; width: 64px; }
  .call-arrow { order: 2; width: 96px; transform: scaleY(-1) rotate(8deg); margin-bottom: -10px; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr { position: relative; }
  .hdr-in { flex-wrap: wrap; height: auto; padding: 8px 16px 4px; gap: 4px 12px; }
  .logo-mark { width: 38px; }
  .logo-txt { font-size: 19px; }
  .hdr-call { margin-left: auto; padding: 0 16px; font-size: 17px; }
  .hdr-call-t { display: none; }
  .hdr-call-s { display: inline; }
  .nav { order: 3; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; border-top: 1.5px dashed rgba(43, 39, 36, .18); }
  .nav a { justify-content: center; padding: 0 2px; font-size: 16.5px; white-space: nowrap; }
  .nav a::after { left: 18%; right: 18%; }
  .hero { min-height: 0; padding: 22px 16px 56px; }
  .about-grid, .story-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 520px; margin-inline: auto; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--forest); color: #fff; font-weight: 800; font-size: 19px; text-decoration: none; border-top: 2.5px solid var(--ink); box-shadow: 0 -10px 24px -16px rgba(43, 39, 36, .55); }
  .callbar b { font-weight: 900; letter-spacing: .01em; }
  .callbar .ico { width: 24px; height: 24px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .ftr-info { text-align: left; }
  .ftr { padding-bottom: 36px; }
  .call-big { padding: 6px 4px; }
  .ftr-name { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .brand-row { align-items: flex-end; }
  .nb-word { width: min(262px, calc(100vw - 32px - 78px)); }
  .buddy { position: relative; left: auto; bottom: -4px; width: 70px; flex: none; margin-left: 4px; }
  .bubble { left: auto; right: -10px; bottom: 96%; font-size: 16px; padding: 4px 8px 6px; transform-origin: 80% 100%; }
  .bubble::after { left: auto; right: 26px; }
  .memos { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pink-note { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .hands { width: 104px; }
  .memo.m5 { max-width: none; grid-column: auto; }
  .memo { padding: 38px 22px 26px; }
  .news li a { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .drawbox { padding: 22px 8px 24px; }
  .hearts { right: -8px; }
  .tape-tl { left: -16px; }
  .tape-tr { right: -16px; }
  .tape-br { right: -14px; }
}
/* 좁은 폰: 「여기로 전화 주세요!」 줄(새싹 · 글 · 화살표)이 종이 밖으로 나가지 않게 */
@media (max-width: 420px) {
  .sprout-mini { width: 52px; }
  .call-note { font-size: 26px; padding-bottom: 18px; }
  .call-arrow { width: 64px; margin-bottom: -6px; }
}
@media (max-width: 340px) {
  .sprout-mini { width: 46px; }
  .call-note { font-size: 23px; }
  .call-arrow { width: 50px; }
}
@media (max-width: 380px) {
  .logo-txt { font-size: 18px; }
  .btn { padding: 0 20px; font-size: 18px; }
}
@media (hover: none), (pointer: coarse) {
  .pencil, .cursor-toggle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .pencil, .cursor-toggle { display: none !important; }
}
