/* 식구 소개 사이트. 색은 앱과 같은 종이·잉크·감빛 주황·등불. 글꼴은 앱과 같은 고운돋움(이 사이트에 쓰인 글자만 담아 직접 올림). */
@font-face { font-family: "Gowun Dodum"; src: url("font/gowun.woff2") format("woff2"); font-display: swap; }
:root {
  --bg: #F3EEE4; --card: #FFFCF6; --ink: #1F2A44; --soft: #6A6458; --edge: #D9D0BF;
  --accent: #B5421F; --on-accent: #FFFCF6; --lamp: #F4B860; --ember: #E35A2E; --night: #141A38; --frame: #1F2A44;
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Gowun Dodum", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131209; --card: #1F1F1F; --ink: #F3EEE4; --soft: #B9B2A4; --edge: #313131; --accent: #F4B860; --on-accent: #131209; --frame: #313131; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/28px var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
html:lang(zh-Hant) body { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", system-ui, sans-serif; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; margin: 0; }
p, li { text-wrap: pretty; }
:lang(ko) { word-break: keep-all; }
button { font: inherit; }

.skip { position: absolute; left: 16px; top: -64px; padding: 8px 12px; background: var(--card); border-radius: 8px; z-index: 30; }
.skip:focus { top: 16px; }

/* 위에 떠 있는 막대 */
.bar {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 20; width: max-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px;
  background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid color-mix(in srgb, var(--edge) 80%, transparent); border-radius: 16px;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  font-size: 14px; line-height: 20px; box-shadow: 0 8px 32px rgba(20, 26, 56, 0.12);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 16px; }
.links a { color: var(--soft); text-decoration: none; transition: color 300ms var(--curve); }
.links a:hover, .links a[aria-current] { color: var(--ink); }
@media (max-width: 720px) { .links { display: none; } .bar { gap: 8px; } }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: var(--soft); padding: 8px; border-radius: 8px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; }
.lang ul { position: absolute; right: 0; top: 40px; margin: 0; padding: 8px; list-style: none; background: var(--card); border: 1px solid var(--edge); border-radius: 12px; min-width: 136px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); }
.lang li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.lang li a:hover { background: var(--bg); }
.lang li a[aria-current] { color: var(--accent); }

.music-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 36px; padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--edge) 80%, transparent); border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--soft); cursor: pointer;
  transition: all 300ms var(--curve);
}
.music-toggle:hover { color: var(--ink); background: var(--card); border-color: var(--edge); transform: translateY(-1px); }
.music-toggle:active { transform: scale(0.96); }
.music-toggle[aria-pressed="true"] {
  color: var(--ember); background: color-mix(in srgb, var(--ember) 12%, var(--card));
  border-color: color-mix(in srgb, var(--ember) 40%, transparent); box-shadow: 0 0 14px rgba(227, 90, 46, 0.22);
}
.music-ico { flex-shrink: 0; }
.music-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.music-bars i { display: block; width: 2px; height: 3px; background: currentColor; border-radius: 1px; opacity: 0.6; transition: height 200ms ease, opacity 200ms ease; }
.music-toggle[aria-pressed="true"] .music-bars i { opacity: 1; }
.music-toggle[aria-pressed="true"] .music-bars i:nth-child(1) { animation: musicBar1 1.1s ease-in-out infinite alternate; }
.music-toggle[aria-pressed="true"] .music-bars i:nth-child(2) { animation: musicBar2 0.85s ease-in-out infinite alternate 0.15s; }
.music-toggle[aria-pressed="true"] .music-bars i:nth-child(3) { animation: musicBar3 1.3s ease-in-out infinite alternate 0.3s; }
@keyframes musicBar1 { 0% { height: 3px; } 100% { height: 11px; } }
@keyframes musicBar2 { 0% { height: 11px; } 100% { height: 4px; } }
@keyframes musicBar3 { 0% { height: 4px; } 100% { height: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .music-toggle[aria-pressed="true"] .music-bars i { animation: none; height: 7px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 12px; text-decoration: none; cursor: pointer;
  font-size: 16px; line-height: 24px; font-weight: 700;
  transition: transform 300ms var(--curve), box-shadow 300ms var(--curve), background 300ms var(--curve);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(181, 66, 31, 0.3); }
.btn:active { transform: scale(0.97); }
.btn.big { min-height: 56px; padding: 14px 28px; font-size: 18px; border-radius: 16px; }
.btn.big svg { width: 22px; height: 22px; fill: currentColor; }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; line-height: 20px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--edge); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

main { display: block; }
.section-h { font-size: 40px; line-height: 48px; margin-bottom: 48px; text-align: center; }
@media (max-width: 720px) { .section-h { font-size: 30px; line-height: 38px; margin-bottom: 32px; } }

/* ── 살아 있는 거리: 하늘은 보는 사람의 시각과 계절을 따른다 ── */
.street {
  --sky: linear-gradient(180deg, #B9D9EA 0%, #DCE9E8 55%, #F3EEE4 100%); --sky-ink: #1F2A44; --sky-soft: #4B5568;
  position: relative; overflow: hidden; min-height: max(100svh, 760px); background: var(--sky); color: var(--sky-ink);
  transition: background 900ms var(--curve);
}
.street[data-sky="dusk"] { --sky: linear-gradient(180deg, #34366E 0%, #A8607A 38%, #F0956A 70%, #F6CFA0 100%); --sky-ink: #FFFCF6; --sky-soft: #FBE6D4; }
.street[data-sky="night"] { --sky: linear-gradient(180deg, #070C26 0%, #121A44 50%, #26305E 100%); --sky-ink: #FFFCF6; --sky-soft: #C9CCE0; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0 0 35% 0; opacity: 0; transition: opacity 900ms var(--curve); }
.street[data-sky="night"] .stars { opacity: 1; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #FFF6DC; box-shadow: 0 0 6px #FFF6DC; animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 50% { opacity: 0.2; transform: scale(0.6); } }
.sun { position: absolute; right: 38%; top: 17%; width: 72px; height: 72px; border-radius: 50%; background: #FFD66E; box-shadow: 0 0 60px 20px rgba(255, 214, 110, 0.55); transition: opacity 900ms var(--curve), transform 900ms var(--curve); }
.street[data-sky="dusk"] .sun { background: #FF9E5E; box-shadow: 0 0 80px 30px rgba(255, 140, 80, 0.5); transform: translateY(160px) scale(1.2); }
.street[data-sky="night"] .sun { opacity: 0; }
.moon { position: absolute; right: 38%; top: 16%; width: 64px; height: 64px; opacity: 0; transition: opacity 900ms var(--curve), transform 900ms var(--curve); filter: drop-shadow(0 0 18px rgba(255, 246, 220, 0.6)); }
.street[data-sky="night"] .moon { opacity: 1; }
.street.big-moon .moon { transform: scale(1.7); }
.moon-dark { fill: rgba(255, 255, 255, 0.08); }
.moon-lit { fill: #FFF6DC; }
.fall { position: absolute; inset: 0; width: 100%; height: 100%; }

.garland { position: absolute; left: 0; top: 76px; width: 100%; height: 90px; pointer-events: none; }
.garland path { fill: none; stroke: color-mix(in srgb, var(--sky-ink) 45%, transparent); stroke-width: 2; }
.bulb { fill: #FFE3A3; opacity: 0.55; transition: opacity 600ms var(--curve); }
.street[data-sky="night"] .bulb, .street[data-sky="dusk"] .bulb { fill: #FFD27A; opacity: 1; filter: drop-shadow(0 0 8px #FFC861); animation: bulb 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bulb { 50% { opacity: 0.55; } }

.street-in {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 168px 24px 200px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center;
}
.chip { display: inline-block; margin: 0 0 24px; padding: 6px 14px; border-radius: 999px; font-size: 14px; line-height: 20px;
  background: color-mix(in srgb, var(--sky-ink) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sky-ink) 25%, transparent); }
.hero-text h1 { position: relative; font-size: 64px; line-height: 1.15; letter-spacing: -0.01em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.12); }
.hanja { position: absolute; left: -12px; top: -88px; font-size: 180px; line-height: 1; opacity: 0.08; letter-spacing: 0.05em; font-family: "Hiragino Mincho ProN", "Noto Serif CJK KR", serif; pointer-events: none; white-space: nowrap; }
.street[data-sky="night"] .hanja { color: var(--lamp); opacity: 0.14; }
.hero-text .sub { font-size: 20px; line-height: 32px; color: var(--sky-soft); max-width: 560px; margin: 24px 0 32px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.street .btn.big { background: var(--ember); color: #FFFCF6; box-shadow: 0 12px 32px rgba(227, 90, 46, 0.35); }
.android { margin: 0; font-size: 14px; line-height: 20px; color: var(--sky-soft); }
.android a { color: inherit; }
.live { margin: 32px 0 0; font-size: 15px; line-height: 22px; color: var(--sky-soft); display: flex; align-items: center; gap: 10px; min-height: 22px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 10px var(--lamp); animation: bulb 2s ease-in-out infinite; }
.live.now { color: var(--lamp); }

/* 건물 */
.scene { position: relative; width: 400px; }
.building { position: relative; z-index: 2; margin: 0 auto; width: 340px; background: #FFFCF6; color: #1F2A44; border: 2px solid #1F2A44; border-top-width: 9px; padding: 14px 18px 0; box-shadow: 0 30px 60px rgba(10, 14, 40, 0.25); }
.snowcap { position: absolute; left: -10px; right: -10px; top: -18px; height: 18px; background: #FFFFFF; border-radius: 12px 12px 4px 4px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06); opacity: 0; transition: opacity 600ms var(--curve); }
.street.snow .snowcap { opacity: 1; }
.sign { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 12px; }
.sign span:last-child { font-size: 12px; color: #6A6458; }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 14px; padding-bottom: 36px; }
.win { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: 2px; background: #3B2A25; cursor: pointer; overflow: visible;
  transition: background 500ms var(--curve), box-shadow 500ms var(--curve), transform 300ms var(--curve); }
.win img { position: absolute; left: 50%; bottom: -2px; width: 118%; max-width: none; transform: translateX(-50%); transition: opacity 500ms var(--curve); }
.win .awake { opacity: 0; }
.win .asleep { opacity: 0.55; }
.win.on { background: var(--lamp); border-color: #1F2A44; }
.street[data-sky="night"] .win.on, .street[data-sky="dusk"] .win.on { box-shadow: 0 0 36px 6px rgba(244, 184, 96, 0.6); }
.win.on .awake { opacity: 1; }
.win.on .asleep { opacity: 0; }
.win:hover { transform: translateY(-3px); }
.win > span { position: absolute; left: 0; right: 0; bottom: -24px; font-size: 12px; line-height: 16px; color: #6A6458; text-align: center; }
.win.pop { animation: pop 600ms var(--curve); }
@keyframes pop { 0% { transform: scale(0.9); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.door { display: flex; justify-content: center; align-items: flex-end; gap: 10px; height: 74px; }
.door span { width: 54px; height: 70px; background: #2A1E1A; border-radius: 27px 27px 0 0; }
.lantern { display: none; width: 18px; height: 32px; margin-bottom: 24px; border-radius: 4px; background: linear-gradient(#2F4FA0 0 45%, #C8323C 45% 100%); box-shadow: 0 0 16px rgba(255, 120, 80, 0.7); }
.street.feast .lantern { display: block; }
.tree { position: absolute; z-index: 3; left: -46px; bottom: -6px; width: 120px; }
.trunk { fill: #7A5232; } .branch { stroke: #7A5232; stroke-width: 6; stroke-linecap: round; fill: none; }
.leaf1 { fill: #6E9E4F; } .leaf2 { fill: #4F7F3A; }
.fruit circle, .persimmons circle { fill: #F07A2B; stroke: #C4512A; stroke-width: 1.5; }
.pet { position: absolute; z-index: 3; bottom: -8px; width: 72px; height: auto; transition: transform 300ms var(--curve); }
.pet.dog { right: -6px; } .pet.cat { right: 52px; width: 64px; }
.pet:hover { transform: translateY(-6px) rotate(-4deg); }
.hint { position: absolute; left: 0; right: 0; bottom: -64px; margin: 0; text-align: center; font-size: 14px; color: var(--sky-soft); }
.hint::before { content: "↑ "; }
.ground { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 190px; background: url("art/meadow.webp") repeat-x bottom center / auto 190px; }
.street[data-sky="night"] .ground { filter: brightness(0.55) saturate(0.8); }
.scenes { position: absolute; z-index: 4; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(255, 252, 246, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.scenes button { border: 0; background: transparent; color: #1F2A44; padding: 8px 14px; border-radius: 10px; font-size: 14px; line-height: 20px; cursor: pointer; white-space: nowrap; transition: background 300ms var(--curve); }
.scenes button[aria-pressed="true"] { background: #1F2A44; color: #FFFCF6; }
@media (max-width: 960px) {
  .street-in { grid-template-columns: 1fr; padding: 128px 16px 220px; text-align: center; justify-items: center; gap: 72px; }
  .hero-text h1 { font-size: 44px; }
  .hanja { left: 50%; transform: translateX(-50%); top: -64px; font-size: 130px; }
  .hero-text .sub { margin-left: auto; margin-right: auto; font-size: 18px; line-height: 28px; }
  .cta, .live { justify-content: center; }
  .cta { flex-direction: column; }
  .sun, .moon { right: 8%; top: 96px; }
}
@media (max-width: 420px) {
  .scene { width: 300px; } .building { width: 280px; padding: 12px 14px 0; } .windows { gap: 24px 10px; }
  .tree { width: 96px; left: -30px; } .pet.dog { width: 60px; } .pet.cat { width: 54px; right: 44px; }
  .scenes button { padding: 8px 10px; font-size: 13px; }
}

/* 커튼 */
.curtain { width: min(380px, calc(100% - 32px)); padding: 20px; border: 0; border-radius: 24px; background: #FFFCF6; color: #1F2A44; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.curtain::backdrop { background: rgba(7, 12, 38, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cur-stage { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #F4B860; }
.cur-clip { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.15) translate(-3%, -2%); } }
.cur-panel { position: absolute; top: 0; bottom: 0; width: 51%; background: var(--ember); transition: transform 900ms var(--curve) 150ms; }
.cur-panel.left { left: 0; border-radius: 0 0 60% 0; } .cur-panel.right { right: 0; border-radius: 0 0 0 60%; }
.curtain[open].opened .cur-panel.left { transform: translateX(-86%); }
.curtain[open].opened .cur-panel.right { transform: translateX(86%); }
.cur-cap { margin: 16px 0 4px; font-size: 16px; color: #6A6458; }
.cur-cap b { color: #1F2A44; }
.cur-quote { margin: 0 0 16px; font-size: 20px; line-height: 30px; }
.curtain .btn.ghost { color: #1F2A44; box-shadow: inset 0 0 0 1.5px #D9D0BF; }

/* ── 食口 이야기 ── */
.story { position: relative; background: var(--night); color: #FFFCF6; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 96px max(24px, calc((100% - 1180px) / 2)); }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1px 1px at 20% 30%, #FFF6DC, transparent), radial-gradient(1px 1px at 70% 12%, #FFF6DC, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #FFF6DC, transparent), radial-gradient(1px 1px at 40% 80%, #FFF6DC, transparent); opacity: 0.6; pointer-events: none; }
.story-stage { position: sticky; top: 14vh; height: 72vh; }
.sm { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.96); transition: opacity 900ms var(--curve), transform 900ms var(--curve); }
.sm.on { opacity: 1; transform: none; }
.sm img { max-height: 100%; width: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); border: 6px solid #FFFCF6; }
.sm-phone video { height: 100%; width: auto; max-height: 72vh; border: 8px solid #2A3156; border-radius: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 80px rgba(244, 184, 96, 0.25); }
.story-steps { position: relative; }
.kicker { margin: 0; font-size: 168px; line-height: 1; color: var(--lamp); text-shadow: 0 0 48px rgba(244, 184, 96, 0.5); font-family: "Hiragino Mincho ProN", "Noto Serif CJK KR", serif; letter-spacing: 0.08em; }
.step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity 700ms var(--curve); }
.step.on { opacity: 1; }
.step h2 { font-size: 40px; line-height: 48px; margin-bottom: 20px; color: #FFFCF6; }
.step p { margin: 0; font-size: 22px; line-height: 36px; color: #D9DCEC; max-width: 480px; }
.step:last-child h2 { color: var(--lamp); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 0; padding: 64px 16px; }
  .story-stage { top: 72px; height: 46vh; z-index: 0; }
  .sm img { max-height: 46vh; border-width: 4px; }
  .sm-phone video { max-height: 46vh; }
  .kicker { font-size: 96px; text-align: center; margin-top: 24px; }
  .step { min-height: 64vh; justify-content: flex-end; padding-bottom: 8vh; opacity: 0; }
  .step.on { opacity: 1; }
  .step h2, .step p { background: rgba(20, 26, 56, 0.88); padding: 0 12px; }
  .step h2 { font-size: 30px; line-height: 40px; margin-bottom: 0; padding-top: 12px; border-radius: 12px 12px 0 0; }
  .step p { font-size: 18px; line-height: 30px; padding-bottom: 14px; border-radius: 0 0 12px 12px; }
}

/* ── 움직이는 모습 ── */
.tour { background: var(--ember); color: #FFFCF6; padding: 96px 24px; overflow: hidden; }
.tour-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.tour h2 { font-size: 48px; line-height: 56px; margin-bottom: 16px; }
.tour p { margin: 0; font-size: 20px; line-height: 32px; color: #FFE7D9; max-width: 460px; }
@media (max-width: 860px) { .tour-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 48px; } .tour h2 { font-size: 36px; line-height: 44px; } }

.phone { margin: 0; width: 300px; border: 8px solid var(--frame); border-radius: 36px; overflow: hidden; background: var(--frame); box-shadow: 0 24px 60px rgba(20, 26, 56, 0.25); }
.phone video, .phone img { display: block; width: 100%; aspect-ratio: 720 / 1412; object-fit: cover; border-radius: 28px; background: #E9E1D2; }
.phone.tilt { width: 320px; box-shadow: 0 40px 80px rgba(60, 20, 0, 0.35); border-color: #1F2A44; }

/* ── 기능 ── */
.features, .promises, .steps, .faq, .end { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.features { padding-top: 96px; padding-bottom: 48px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; padding: 48px 0; }
.feature:nth-of-type(even) { grid-template-columns: 1fr auto; }
.feature:nth-of-type(even) > .phone { order: 2; }
.feature h3 { font-size: 34px; line-height: 44px; margin-bottom: 16px; }
.feature-text > p { margin: 0; color: var(--soft); max-width: 540px; font-size: 19px; line-height: 32px; }
.feature .phone { width: 280px; }
.feature.seasons-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.seasons-row .feature-text > p { margin: 0 auto; }
.trio { display: flex; justify-content: center; align-items: flex-end; gap: 24px; margin-top: 16px; }
.feature .trio .phone { width: 220px; }
.trio .phone:nth-child(1) { transform: rotate(-4deg) translateY(12px); }
.trio .phone:nth-child(3) { transform: rotate(4deg) translateY(12px); }
.trio figcaption { padding: 10px 8px 6px; font-size: 14px; line-height: 20px; color: #FFFCF6; text-align: center; }
@media (max-width: 860px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 32px; justify-items: center; text-align: center; padding: 40px 0; }
  .feature:nth-of-type(even) > .phone { order: 0; }
  .feature .phone { width: 250px; }
  .feature h3 { font-size: 28px; line-height: 36px; }
  .feature-text > p { margin: 0 auto; }
  .trio { gap: 10px; } .feature .trio .phone { width: 31%; border-width: 5px; border-radius: 22px; } .trio .phone video, .trio .phone img { border-radius: 17px; }
  .trio figcaption { font-size: 11px; line-height: 15px; }
}

/* 말하는 양 */
.talker { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.talker-lamb { position: relative; width: 112px; height: 112px; flex: none; border-radius: 24px; background: var(--lamp); overflow: hidden; border: 2px solid #1F2A44; }
.talker-lamb img { position: absolute; left: 50%; bottom: -4px; width: 120%; max-width: none; transform: translateX(-50%); }
.talker-lamb .open { opacity: 0; }
.talker.talking .talker-lamb .open { opacity: var(--open, 0); }
.bubble { position: relative; flex: 1; min-width: 200px; margin: 0; min-height: 72px; padding: 14px 18px; background: var(--card); border: 1.5px solid var(--edge); border-radius: 18px; font-size: 18px; line-height: 28px; text-align: left; }
.bubble::before { content: ""; position: absolute; left: -9px; top: 28px; width: 16px; height: 16px; background: var(--card); border-left: 1.5px solid var(--edge); border-bottom: 1.5px solid var(--edge); transform: rotate(45deg); }
.bubble span::after { content: "▍"; color: var(--accent); animation: bulb 1s steps(2) infinite; }
@media (max-width: 860px) { .talker { justify-content: center; } }

/* 감나무 키우기 */
.grow { margin-top: 32px; padding: 24px; border-radius: 24px; background: var(--card); border: 1.5px solid var(--edge); text-align: center; max-width: 440px; }
.grow-h { margin: 0 0 8px; font-weight: 700; }
.grow-tree { width: 160px; height: 170px; margin: 0 auto; display: block; overflow: visible; }
.grow-tree .soil { fill: color-mix(in srgb, var(--soft) 25%, transparent); }
.grow-tree .stem { stroke: #6E9E4F; stroke-width: 4; stroke-linecap: round; }
.grow-tree .g0, .grow-tree .g1, .grow-tree .g2, .grow-tree .g3, .grow-tree .g4 { opacity: 0; transform-origin: 80px 160px; transform: scale(0.8); transition: opacity 600ms var(--curve), transform 600ms var(--curve); }
.grow[data-stage="0"] .g0, .grow[data-stage="1"] .g1, .grow[data-stage="2"] .g2, .grow[data-stage="3"] .g3, .grow[data-stage="4"] .g4 { opacity: 1; transform: none; }
.persimmons circle { transition: opacity 400ms var(--curve), transform 700ms var(--curve); transform-box: fill-box; transform-origin: center; }
.persimmons circle.off { opacity: 0; transform: translateY(60px); }
.grow-stage { margin: 8px 0 0; font-size: 20px; font-weight: 700; color: var(--accent); }
.grow-status { margin: 4px 0 16px; font-size: 15px; color: var(--soft); }
.grow-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 860px) { .grow { margin-left: auto; margin-right: auto; } }

/* 약속, 세 걸음, 자주 묻는 것 */
.promises, .steps, .faq { padding-top: 80px; padding-bottom: 80px; }
.promises ul, .steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps ol { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.promises li, .steps li { background: var(--card); border: 1.5px solid var(--edge); border-radius: 20px; padding: 24px; transition: transform 400ms var(--curve), box-shadow 400ms var(--curve); }
.promises li:hover, .steps li:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 26, 56, 0.12); }
.ico { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--lamp); stroke: #1F2A44; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ember); color: #FFFCF6; font-weight: 700; margin-bottom: 16px; }
.promises h3, .steps h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.promises p, .steps p { margin: 0; color: var(--soft); font-size: 16px; line-height: 26px; }
@media (max-width: 960px) { .promises ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .promises ul, .steps ol { grid-template-columns: 1fr; } }
.faq { max-width: 760px; }
.faq details { background: var(--card); border: 1.5px solid var(--edge); border-radius: 16px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 24px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 28px; transition: transform 300ms var(--curve); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 24px; color: var(--soft); }

/* 끝 */
.end { padding-top: 48px; padding-bottom: 120px; }
.end-card { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 32px 40px; border-radius: 32px; background: #FFF1C9; color: #1F2A44; border: 2px dashed #E9C66F; box-shadow: 0 30px 80px rgba(180, 120, 20, 0.15); }
.bowl { width: 150px; height: auto; border-radius: 50%; }
.end h2 { font-size: 36px; line-height: 44px; margin-bottom: 12px; }
.end-text p { margin: 0 0 24px; color: #5A5448; }
.end .btn.big { background: var(--ember); color: #FFFCF6; }
.qr { margin: 0; text-align: center; font-size: 12px; line-height: 16px; color: #6A6458; max-width: 150px; }
.qr img { width: 132px; height: 132px; padding: 8px; margin: 0 auto 8px; background: #FFFFFF; border-radius: 16px; }
@media (max-width: 860px) { .end-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 20px; } .qr { display: none; } .end h2 { font-size: 30px; line-height: 38px; } }

.foot { position: relative; text-align: center; color: var(--soft); font-size: 14px; line-height: 20px; padding: 120px 16px 40px; background: url("art/meadow.webp") repeat-x top center / auto 110px; }
.foot p { margin: 8px 0; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot img { border-radius: 4px; }

/* 개인정보 처리방침, 404 */
.doc { max-width: 720px; margin: 0 auto; padding: 128px 16px 80px; }
.doc h1 { font-size: 36px; line-height: 44px; margin-bottom: 8px; }
.doc .date { color: var(--soft); font-size: 14px; line-height: 20px; margin: 0 0 32px; }
.doc h2 { font-size: 24px; line-height: 32px; margin: 48px 0 16px; }
.doc li { margin-bottom: 8px; }
.notfound { text-align: center; padding: 160px 16px 96px; }
.notfound img { margin: 0 auto 32px; border-radius: 16px; }
.notfound h1 { font-size: 36px; line-height: 44px; margin-bottom: 16px; }
.notfound p { color: var(--soft); margin: 0 0 32px; }

/* 내려오면 한 번 올라오며 나타난다(스크립트가 켜졌을 때만) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms var(--curve), transform 800ms var(--curve); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; }
  .stars i, .bulb, .live::before, .cur-clip, .bubble span::after { animation: none !important; }
  .btn:hover, .btn:active, .win:hover, .pet:hover { transform: none; }
}
