# Notion · 필요할 때만 회의 메모 펼치기

새 줄에서 >와 스페이스를 차례로 누르면 접을 수 있는 목록이 생깁니다. 그 안에 메모를 넣어 두면 독자는 항목을 열어 내용을 읽고 다시 접을 수 있습니다.

[공식 원문](https://www.notion.com/help/writing-and-editing-basics)

## 관련 모션 · 아코디언

# 아코디언 (Accordion)

제목을 눌러 내용을 펼치고 접는 목록

## 체험 방법

궁금한 질문을 펼쳐 인쇄물의 보관 방법을 읽어보세요.

## 적용할 때

배송·보관처럼 필요한 답변만 펼쳐 읽는 안내.

질문을 누르면 해당 답변을 그 자리에서 펼치고 접게 해줘.

## 독립 실행 코드

아래 전체 코드를 HTML 파일로 저장해 브라우저에서 엽니다. 오프라인에서 바로 실행할 수 있도록 필요한 자료와 조작 코드를 포함했습니다.

```html
<!doctype html>
<html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>아코디언 · Motion Lab</title><style>*{box-sizing:border-box}body{margin:0;background:#f4f3ec;color:#24251f;font:15px/1.5 system-ui,sans-serif}main{width:min(1080px,100%);margin:auto}header.sample-heading,footer.sample-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 16px}.sample-heading h1{margin:0;font-size:clamp(20px,3vw,32px)}.sample-tools p{margin:0;flex:1 1 240px;font-size:13px}.sample-tools button{min-height:42px;padding:6px 12px;border:1px solid #666957;background:#fcfbf4;color:#202219;border-radius:3px;font:inherit}#playDemo{background:#272a23;color:white}#stage{width:100%;height:clamp(310px,70dvh,700px);position:relative;overflow:auto}.sample-status{min-height:1.4em;margin:0 16px 12px;font-size:13px}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a64c27;outline-offset:2px}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*,*::after,*::before{scroll-behavior:auto!important}}
.demo-scene.foundation-scene{--paper:#f6f0e3;--ink:#292a24;--line:#c8c4b5;--rust:#ac402a;--green:#27453d;position:relative;box-sizing:border-box;display:grid;place-items:safe center;isolation:isolate;overflow:auto;width:100%;height:100%;min-width:0;min-height:0;padding:clamp(14px,3vw,50px);background:#d7d4c7;color:var(--ink);font:500 14px/1.45 Inter,Pretendard,"Malgun Gothic",system-ui,sans-serif;container-type:inline-size}
.demo-scene.foundation-scene{grid-template-columns:minmax(0,1fr)}
.foundation-scene *, .foundation-scene *::before,.foundation-scene *::after{box-sizing:border-box}
.foundation-scene [hidden]{display:none!important}
.foundation-scene .ff-page{position:relative;width:min(100%,790px);max-width:100%;min-width:0;padding:clamp(17px,3.5cqw,44px);background:var(--paper);box-shadow:1px 3px 0 #827d6d2e,0 16px 40px -28px #34382b86}
.foundation-scene button,.foundation-scene summary{color:inherit;font:inherit;cursor:pointer}
.foundation-scene button:focus-visible,.foundation-scene summary:focus-visible,.foundation-scene [tabindex]:focus-visible{outline:3px solid #00778a;outline-offset:3px;z-index:2}
.foundation-scene .ff-image{display:block;object-fit:cover;width:100%;min-width:0;max-width:100%}
.foundation-scene .ff-heading h3,.foundation-scene .ff-hero h3{margin:0;color:inherit;font:700 clamp(24px,4.4cqw,53px)/1.09 Inter,Pretendard,"Malgun Gothic",sans-serif;letter-spacing:-.072em}
.foundation-scene .ff-heading i,.foundation-scene .ff-work i,.foundation-scene .ff-register i,.foundation-scene .ff-drawer-copy>i,.foundation-scene figcaption i,.foundation-scene .ff-hoverwork>span i,.foundation-scene .ff-load>div>i{display:block;margin-top:4px;color:inherit;font:italic 400 clamp(13px,1.8cqw,20px)/1.25 Georgia,serif;letter-spacing:-.035em}
.foundation-scene .ff-heading{margin-bottom:clamp(14px,2.6cqw,27px)}
.foundation-scene .ff-heading i{color:#695f50}
.foundation-scene .ff-stamp,.foundation-scene .ff-kind{display:block;color:inherit;font-size:clamp(10px,1.35cqw,13px);line-height:1.45;font-weight:580}
.foundation-scene .ff-stamp{padding-bottom:8px;margin-bottom:12px;border-bottom:1px solid currentColor}
.foundation-scene .ff-kind{color:#5c5a4e;margin-top:6px}
.foundation-scene .ff-cmd,.foundation-scene .ff-heart{display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:1px solid var(--ink);border-radius:2px;background:var(--ink);color:#fbf7e9;padding:9px 14px;font-size:clamp(12px,1.55cqw,15px);font-weight:620;line-height:1.35}
.foundation-scene p{color:inherit;margin:8px 0 15px;line-height:1.65;font-size:clamp(13px,1.8cqw,17px);word-break:keep-all}
.foundation-scene h4{margin:0;color:inherit;font:700 clamp(16px,2.5cqw,26px)/1.25 Inter,Pretendard,"Malgun Gothic",sans-serif;letter-spacing:-.05em}
.foundation-scene .ff-work{width:100%;min-width:0;overflow:hidden;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left}
.foundation-scene .ff-work img{aspect-ratio:1/.91;margin-bottom:9px}
.foundation-scene .ff-work strong,.foundation-scene .ff-register strong,.foundation-scene figcaption strong,.foundation-scene .ff-drawer-copy>strong,.foundation-scene .ff-hoverwork>span strong,.foundation-scene .ff-load>div>strong{display:block;line-height:1.22;font-size:clamp(15px,2.2cqw,25px);letter-spacing:-.04em}
.foundation-scene .ff-trio,.foundation-scene .ff-contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.4cqw,18px)}
.foundation-scene .ff-underlay,.foundation-scene .ff-over{min-width:0}
.foundation-scene .ff-flexhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.foundation-scene .ff-flexhead .ff-heading{margin:0}
.foundation-scene .ff-viewport{width:100%;height:clamp(175px,30cqw,310px);overflow:auto;padding:5px;transition:width .44s cubic-bezier(.2,.7,.2,1);scrollbar-gutter:stable}
.foundation-scene .ff-viewport.ff-narrow{width:min(58%,225px);margin-inline:auto;border-inline:2px solid #aaa797;background:#eee6d4}
.foundation-scene .ff-narrow .ff-trio{grid-template-columns:1fr}.foundation-scene .ff-narrow .ff-work img{aspect-ratio:1.85}
.foundation-scene[data-demo="1"] .ff-page,.foundation-scene[data-demo="6"] .ff-page,.foundation-scene[data-demo="7"] .ff-page,.foundation-scene[data-demo="15"] .ff-page,.foundation-scene[data-demo="21"] .ff-page,.foundation-scene[data-demo="22"] .ff-page,.foundation-scene[data-demo="23"] .ff-page{padding:0}
.foundation-scene .ff-hero{position:relative;min-height:clamp(245px,41cqw,460px);isolation:isolate;display:flex;align-items:flex-end;padding:clamp(19px,4cqw,46px);color:#fff9e8;background:#171812}
.foundation-scene .ff-hero img,.foundation-scene .ff-glass>img,.foundation-scene .ff-depth>img,.foundation-scene .ff-snap figure>img,.foundation-scene .ff-filmtrack img{position:absolute;inset:0;height:100%;width:100%;z-index:-2}
.foundation-scene .ff-hero::before,.foundation-scene .ff-depth::before,.foundation-scene .ff-snap figure::before,.foundation-scene .ff-filmtrack figure::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#15180fbb,transparent 68%)}
.foundation-scene .ff-hero h3{font-size:clamp(39px,7.5cqw,82px);margin:0 0 19px}
.foundation-scene .ff-hero .ff-cmd{color:#fcf2d9;border-color:#fcf2d9;background:#14161265}
.foundation-scene .ff-index{padding:clamp(18px,3cqw,36px)}.foundation-scene .ff-index .ff-cmd{margin-top:18px}
.foundation-scene .ff-pickgrid .ff-work,.foundation-scene .ff-bento button{position:relative}
.foundation-scene .ff-pickgrid .ff-work{border-bottom:3px solid transparent;padding-bottom:10px}.foundation-scene .ff-pickgrid .ff-work[aria-pressed=true]{border-color:var(--rust)}
.foundation-scene .ff-record{padding-top:14px;border-top:1px solid var(--line)}.foundation-scene .ff-record p{margin-bottom:0}
.foundation-scene .ff-bento{display:grid;grid-template-columns:1.65fr 1fr;grid-template-rows:repeat(2,clamp(95px,14cqw,158px));gap:7px}
.foundation-scene .ff-bento .ff-work{color:white;display:flex;align-items:flex-end;padding:12px;isolation:isolate}.foundation-scene .ff-bento .ff-work[aria-pressed=true]{grid-row:span 2}
.foundation-scene .ff-bento img{position:absolute;inset:0;height:100%;width:100%;z-index:-2}
.foundation-scene .ff-bento button::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#18171196,transparent 68%)}.foundation-scene .ff-bento .ff-work i{display:none}
.foundation-scene .ff-side{display:grid;grid-template-columns:minmax(92px,.72fr) 2fr;gap:clamp(12px,3cqw,32px)}
.foundation-scene .ff-side nav{padding-right:12px;border-right:1px solid var(--line)}
.foundation-scene .ff-nav{display:flex;gap:4px;flex-wrap:wrap}.foundation-scene .ff-nav button{border:1px solid transparent;background:transparent;color:var(--ink);font-size:clamp(11px,1.4cqw,14px)}
.foundation-scene .ff-nav button[aria-pressed=true],.foundation-scene .ff-nav button[aria-selected=true]{background:var(--ink);color:var(--paper)}
.foundation-scene .ff-side .ff-nav{display:grid;justify-content:stretch}
.foundation-scene .ff-register article{display:flex;align-items:center;gap:clamp(10px,2cqw,20px);padding:10px 0;border-bottom:1px solid var(--line)}
.foundation-scene .ff-register article>img{width:clamp(44px,10cqw,104px);aspect-ratio:1.2}.foundation-scene .ff-register article>div{min-width:0}.foundation-scene .ff-register button{margin-left:auto;white-space:nowrap}
.foundation-scene .ff-scroll{height:clamp(235px,37cqw,420px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}
.foundation-scene .ff-sticky{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:13px 19px;background:var(--green);color:#fffae9}
.foundation-scene .ff-sticky .ff-heading,.foundation-scene .ff-sticky .ff-stamp{margin:0;border:0;padding:0}.foundation-scene .ff-sticky h3{font-size:clamp(21px,3.1cqw,34px)}
.foundation-scene .ff-sticky-scroll .ff-register{padding:0 20px}.foundation-scene .ff-sticky-scroll .ff-register article{min-height:clamp(120px,18cqw,186px)}.foundation-scene .ff-sticky-scroll article img{width:28%;max-height:155px}
.foundation-scene .ff-split{display:grid;grid-template-columns:1fr 1fr;transition:grid-template-columns .45s ease;align-items:stretch}
.foundation-scene .ff-split.ff-wide{grid-template-columns:1.65fr 1fr}.foundation-scene .ff-split>img{height:100%;max-height:440px}.foundation-scene .ff-split>div{padding:clamp(14px,3.6cqw,41px);align-self:center;min-width:0}
.foundation-scene .ff-detail,.foundation-scene .ff-proof,.foundation-scene .ff-paper,.foundation-scene .ff-ink-proof{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(13px,4cqw,48px);min-width:0}
.foundation-scene .ff-detail>img,.foundation-scene .ff-proof>img{aspect-ratio:1/1.08;max-height:390px}
.foundation-scene .ff-detail .ff-nav{border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:4px 0;gap:0}.foundation-scene .ff-detail .ff-nav button{padding:7px 9px}
.foundation-scene .ff-detail [role=tabpanel]{min-height:5.5em}
.foundation-scene .ff-faq details{background:transparent!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;margin:0!important;padding:0!important}
.foundation-scene .ff-faq summary{display:flex;align-items:center;gap:10px;list-style:none;padding:15px 0;font-size:clamp(13px,2cqw,20px);font-weight:630;color:var(--ink)}
.foundation-scene .ff-faq summary::after{content:'+';margin-left:auto}.foundation-scene .ff-faq details[open] summary::after{content:'−'}
.foundation-scene .ff-faq small,.foundation-scene .ff-contact small{color:var(--rust);font:italic 15px Georgia,serif}
.foundation-scene .ff-faq p{margin:0 0 14px;padding:0 20px}
.foundation-scene .ff-over{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#15191270;padding:12px}
.foundation-scene .ff-modal,.foundation-scene .ff-drawer{width:min(100%,430px);max-height:100%;overflow:auto;background:#f9f5e9;color:var(--ink);padding:clamp(14px,2.2cqw,24px);box-shadow:0 8px 42px #25251b41}
.foundation-scene .ff-modal{display:grid;grid-template-columns:.8fr 1fr;gap:16px;align-items:center;animation:ff-popup .24s ease-out}.foundation-scene .ff-modal>img{aspect-ratio:.75}.foundation-scene .ff-modal h3{font-size:clamp(18px,3cqw,30px)}
.foundation-scene .ff-drawer-layer{display:flex;justify-content:flex-end;align-items:stretch;padding:0}
.foundation-scene .ff-drawer{width:min(75%,370px);border-left:1px solid var(--line);animation:ff-drawer .33s cubic-bezier(.2,.72,.22,1)}
.foundation-scene .ff-drawer>.ff-cmd{float:right;padding:5px 8px}.foundation-scene .ff-drawer-copy{clear:both;padding-top:9px}.foundation-scene .ff-drawer-copy img{height:clamp(64px,14cqw,145px);margin-bottom:10px}
.foundation-scene .ff-drawer-copy p{margin-bottom:0}
@keyframes ff-popup{from{opacity:0;transform:scale(.95)}}@keyframes ff-drawer{from{transform:translateX(95%)}}
.foundation-scene .ff-sample-stock,.foundation-scene .ff-ink-swatch{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#efe4ca;aspect-ratio:.94;border:1px solid #b6b09f}
.foundation-scene .ff-sample-stock span{font-size:clamp(9px,1.4cqw,13px)}.foundation-scene .ff-sample-stock b,.foundation-scene .ff-ink-swatch b{color:var(--rust);font:italic 650 clamp(42px,11cqw,126px)/1 Georgia,serif;letter-spacing:-.1em}
.foundation-scene .ff-drop,.foundation-scene .ff-help{position:relative;display:inline-flex;align-items:center;gap:9px}.foundation-scene #ff-papers{position:absolute;z-index:4;top:calc(100% + 3px);left:0;min-width:100%;background:#fffdf5;border:1px solid var(--ink);box-shadow:2px 3px 0 #252a2022}
.foundation-scene #ff-papers button{display:block;width:100%;white-space:nowrap;text-align:left;color:var(--ink);background:transparent;border:0;border-radius:0}.foundation-scene #ff-papers button:is(:hover,:focus-visible){background:#e8dfc9}
.foundation-scene .ff-help button{padding:0;width:27px;height:27px;border-radius:50%}.foundation-scene #ff-tip{position:absolute;z-index:3;bottom:calc(100% + 8px);right:0;width:min(215px,53cqw);padding:11px 14px;background:#222821;color:#fff9e9;font-size:12px;line-height:1.55;box-shadow:0 3px 10px #2223}
.foundation-scene .ff-toast{position:absolute;right:12px;bottom:12px;max-width:calc(100% - 24px);display:flex;align-items:center;gap:12px;padding:9px 12px;background:#26372c;color:#fff8e7;box-shadow:1px 5px 19px #241d173f;animation:ff-popup .2s ease}
.foundation-scene .ff-toast .ff-cmd{padding:4px 7px;color:white;background:transparent;border-color:#b6c4b5}
.foundation-scene .ff-film{overflow:hidden;touch-action:pan-y;cursor:grab}.foundation-scene .ff-filmtrack{display:flex;transition:transform .4s cubic-bezier(.2,.7,.22,1)}
.foundation-scene figure{margin:0}.foundation-scene .ff-filmtrack figure,.foundation-scene .ff-snap figure{position:relative;isolation:isolate;display:flex;align-items:flex-end;color:#fffbee}
.foundation-scene .ff-filmtrack figure{height:clamp(220px,36cqw,400px);min-width:100%;padding:clamp(14px,3cqw,34px)}.foundation-scene[data-demo="15"] .ff-nav{padding:7px;justify-content:center}
.foundation-scene .ff-load{min-height:clamp(125px,24cqw,245px);display:flex;align-items:center;gap:clamp(14px,3cqw,32px)}
.foundation-scene .ff-load>img,.foundation-scene .ff-skeleton span:first-child{width:40%;align-self:stretch;min-height:100%;max-height:245px}
.foundation-scene .ff-skeleton{width:100%;display:grid;grid-template-columns:40% 1fr;grid-template-rows:1fr 1fr;gap:14px;align-self:stretch}
.foundation-scene .ff-skeleton span{background:#d8d2c3;align-self:end;height:13px;animation:ff-pulse .7s ease-in-out alternate infinite}.foundation-scene .ff-skeleton span:first-child{width:100%;grid-row:span 2;height:auto;align-self:stretch}.foundation-scene .ff-skeleton span:last-child{width:65%;align-self:start}
@keyframes ff-pulse{to{opacity:.4}}
.foundation-scene[data-demo="17"] .ff-page{width:min(70%,430px);padding:0;background:none;box-shadow:none}
.foundation-scene .ff-hoverwork{display:block;position:relative;width:100%;padding:0;overflow:hidden;border:0;background:var(--paper);text-align:left;box-shadow:1px 4px 8px #32352a38;transition:transform .32s ease,box-shadow .32s ease}
.foundation-scene .ff-hoverwork>img{aspect-ratio:1.24}.foundation-scene .ff-hoverwork>span{display:block;padding:14px}.foundation-scene .ff-hoverwork small{display:block;max-height:0;opacity:0;overflow:hidden;transition:opacity .25s,max-height .3s;font-weight:500}
.foundation-scene .ff-hoverwork.ff-raised{transform:translateY(-6px) rotate(-1.1deg);box-shadow:2px 13px 18px #32352a40}.foundation-scene .ff-hoverwork.ff-raised small{max-height:5em;opacity:1;margin-top:6px}
.foundation-scene .ff-reveal figure{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(12px,3cqw,28px);padding:15px 0;border-top:1px solid var(--line);transition:opacity .45s,transform .45s}.foundation-scene .ff-reveal img{height:clamp(120px,20cqw,225px)}
.foundation-scene.ff-live .ff-reveal figure:not(.ff-shown){opacity:0;transform:translateY(18px)}
.foundation-scene .ff-contact figure{padding:6px 6px 10px;background:#fffaf0;box-shadow:1px 3px 6px #3d39292e}.foundation-scene .ff-contact img{aspect-ratio:.78}.foundation-scene .ff-contact figcaption{display:flex;gap:6px;align-items:baseline;margin-top:7px;font-size:clamp(10px,1.6cqw,15px)}
.foundation-scene .ff-ink-swatch{background:#a9442f;border:none;border-radius:2px;position:relative;transition:border-radius .63s,background-color .63s,transform .63s;transform:scale(.89)}
.foundation-scene .ff-ink-swatch b,.foundation-scene .ff-ink-swatch em{color:#fff0ca}.foundation-scene .ff-ink-swatch em{font:14px Georgia,serif}.foundation-scene .ff-ink-swatch.ff-alt{border-radius:48%;background:#345962;transform:scale(.98)}
.foundation-scene .ff-glass,.foundation-scene .ff-depth{isolation:isolate;position:relative;min-height:clamp(245px,39cqw,425px);display:flex;align-items:flex-end;padding:clamp(14px,3cqw,36px)}
.foundation-scene .ff-plaque{padding:clamp(16px,2.8cqw,30px);border:1px solid #e9e4d786;background:#f6f1dcba;backdrop-filter:blur(13px);max-width:70%;transition:background-color .3s}.foundation-scene .ff-plaque.ff-solid{background:#f8f3e4;backdrop-filter:none}
.foundation-scene .ff-depth{overflow:hidden;min-height:100%;color:white}.foundation-scene .ff-depth img{height:125%;top:-12%;will-change:transform}.foundation-scene .ff-depth .ff-heading i{color:#fff4d7}
.foundation-scene .ff-depth-note{padding:clamp(20px,4cqw,45px);min-height:85%}.foundation-scene .ff-snap{scroll-snap-type:y mandatory}
.foundation-scene .ff-snap figure{height:100%;scroll-snap-align:start;padding:clamp(15px,3.6cqw,40px)}
.foundation-scene .ff-heart{background:transparent;color:var(--ink);gap:9px}.foundation-scene .ff-heart b{font-size:1.35em;line-height:1;color:var(--rust)}.foundation-scene .ff-heart em{font:italic 1em Georgia,serif;padding-left:8px;border-left:1px solid #bcb7a3}.foundation-scene .ff-heart[aria-pressed=true]{background:#ead1bc}
.foundation-scene.ff-reduced *, .foundation-scene.ff-reduced *::before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@container(max-width:450px){.foundation-scene .ff-page{padding:15px}.foundation-scene .ff-kind{font-size:10px}.foundation-scene .ff-heading h3{font-size:22px}.foundation-scene .ff-flexhead{gap:6px}.foundation-scene .ff-cmd{padding:8px 9px}.foundation-scene .ff-side{grid-template-columns:74px minmax(0,1fr);gap:9px}.foundation-scene .ff-side nav{padding-right:6px}.foundation-scene .ff-side .ff-register .ff-kind{display:none}.foundation-scene .ff-detail{grid-template-columns:minmax(0,.63fr) minmax(0,1fr);gap:12px}.foundation-scene .ff-detail .ff-nav button{padding:7px 5px}.foundation-scene .ff-register article{gap:7px}.foundation-scene .ff-register article>img{width:42px}.foundation-scene .ff-register .ff-work i{font-size:12px}.foundation-scene .ff-split.ff-wide{grid-template-columns:1.35fr 1fr}.foundation-scene .ff-contact figure{padding:3px 3px 6px}.foundation-scene .ff-toast{font-size:11px}.foundation-scene .ff-contact figcaption{display:block}.foundation-scene .ff-contact small{display:block;font-size:11px}.foundation-scene .ff-sticky-scroll article>img{width:29%}.foundation-scene .ff-hero{min-height:270px}.foundation-scene .ff-glass{min-height:260px}}
@media(prefers-reduced-motion:reduce){.foundation-scene *, .foundation-scene *::before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
</style></head><body><main><header class="sample-heading"><h1>아코디언</h1><span lang="en">Accordion</span></header><div id="stage"></div><footer class="sample-tools"><p>궁금한 질문을 펼쳐 인쇄물의 보관 방법을 읽어보세요.</p><button id="playDemo">첫 답변 펼치기</button><button id="reset">다시 시작</button></footer><p class="sample-status" id="sampleStatus" role="status"></p></main><script>window.MotionFoundationMedia={};</script><script>'use strict';
(() => {
  const works = [
    {title:'붉은 고리', en:'Paper Loop', kind:'입체', process:'망점 인쇄 · 종이 조형', image:'media/paper-loop.webp', alt:'붉은 망점이 찍힌 종이 띠를 두 번 감은 입체 작품', note:'하나의 띠가 겹치며 색이 짙어지는 자리를 관찰합니다.'},
    {title:'밀물의 결', en:'Tidal Lines', kind:'평면', process:'두 색 판화', image:'media/tidal-print.webp', alt:'주홍빛 해를 지나 청록 물결이 겹쳐지는 판화', note:'같은 간격의 선을 조금씩 옮겨 바닷결을 새겼습니다.'},
    {title:'접힌 거리', en:'Offset Walk', kind:'평면', process:'세 색 인쇄', image:'media/offset-print.webp', alt:'남색과 적갈색 선이 접힌 벽처럼 이어지는 인쇄물', note:'세 개의 색판이 어긋나며 깊이가 생기는 인쇄물입니다.'}
  ];
  const guides = [
    ['첫 화면의 ‘작품 펼치기’를 눌러 작품 목록으로 들어가세요.','전시의 대표 이미지와 작품 목록을 연결하는 첫 화면.','대표 작품과 하나의 분명한 버튼으로 다음 화면에 연결해줘.','작품 펼치기'],
    ['보기 폭을 바꿔 같은 작품 목록이 세 열과 한 열로 재배치되는지 확인하세요.','여러 화면 크기에서 작품과 제목을 함께 읽을 수 있는 목록.','화면 폭에 따라 작품 목록의 열 수와 읽는 순서를 조절해줘.','보기 폭 바꾸기'],
    ['작품 카드를 선택해 인쇄 기법과 작품 노트를 비교하세요.','작품 한 점의 이미지·제목·설명을 하나의 선택 영역에 담을 때.','카드 전체를 누르면 선택 표시와 해당 작품 설명이 함께 바뀌게 해줘.','다음 작품 선택'],
    ['대표 작품을 바꾸면 큰 면과 작은 두 면의 크기가 달라집니다.','한 화면에 주요 작품과 관련 작품을 함께 배치하는 전시 목차.','대표 작품에 큰 칸을 배정하고 관련 작품도 함께 보여줘.','대표 작품 교체'],
    ['왼쪽 분류를 골라 오른쪽에 나타나는 작품을 확인하세요.','작품 분류를 유지하면서 결과를 살펴보는 아카이브.','왼쪽 분류 메뉴를 유지하고 오른쪽의 작품 목록만 바꿔줘.','다음 분류 보기'],
    ['작품 목록 안을 스크롤하세요. 맨 위의 전시명이 그대로 남습니다.','긴 작품 목록을 읽는 동안 현재 전시의 이름을 유지할 때.','목록 안을 스크롤해도 전시 머리글을 고정해줘.','다음 작품으로'],
    ['화면 비율을 바꿔 작품 이미지와 기록이 차지하는 면적을 비교하세요.','이미지를 살펴보면서 작품 정보도 옆에 두는 화면.','사진과 기록을 나란히 배치하고 필요하면 사진의 비중을 키워줘.','사진 비중 전환'],
    ['작품·제작·보관 탭을 선택하세요. 탭에 초점을 두고 방향키로도 이동할 수 있습니다.','한 작품에 연결된 여러 종류의 기록을 읽을 때.','작품·제작·보관 설명을 키보드로 이동 가능한 탭으로 나눠줘.','다음 탭'],
    ['궁금한 질문을 펼쳐 인쇄물의 보관 방법을 읽어보세요.','배송·보관처럼 필요한 답변만 펼쳐 읽는 안내.','질문을 누르면 해당 답변을 그 자리에서 펼치고 접게 해줘.','첫 답변 펼치기'],
    ['‘교정지 확인’을 누르면 배경 조작이 멈춥니다. 닫거나 Escape로 작업에 복귀하세요.','중요한 교정 상태를 확인하고 원래 작업으로 돌아올 때.','교정 결과를 중앙 모달로 열고 닫으면 원래 버튼으로 초점을 돌려줘.','교정지 확인'],
    ['작품의 ‘기록 보기’를 눌러 목록 옆에 상세 기록을 여세요.','목록을 보던 위치에서 한 작품의 정보를 자세히 읽을 때.','작품 기록을 옆에서 슬라이드하는 패널로 열고 Escape로 닫게 해줘.','작품 기록 열기'],
    ['인쇄 용지를 선택하고 바탕의 색과 용지 설명을 비교하세요.','색상·재질처럼 제한된 옵션에서 한 가지를 고를 때.','드롭다운에서 선택한 용지를 버튼과 견본에 즉시 반영해줘.','용지 선택'],
    ['‘별색’ 옆 도움말에 초점을 맞추거나 눌러 설명을 확인하세요.','생소한 전문 용어의 짧은 정의가 필요할 때.','설명 아이콘을 호버·터치·키보드로 열고 Escape로 닫게 해줘.','별색 설명 보기'],
    ['관람 목록에 담은 뒤 알림의 ‘되돌리기’를 눌러 상태를 복원하세요.','작품 저장 결과를 짧게 알리면서 즉시 취소할 수 있게 할 때.','작품을 담으면 알림을 보여주고 되돌리기로 직전 상태를 복원해줘.','관람 목록에 담기'],
    ['작품을 옆으로 넘기거나 아래 작품명을 골라 다음 장을 보세요.','여러 작품을 같은 크기의 한 화면으로 이어 보여줄 때.','직접 넘기는 캐러셀과 현재 작품을 나타내는 탐색 버튼을 넣어줘.','다음 장'],
    ['다시 불러와서 자리 표시가 실제 표지와 설명으로 바뀌는 과정을 보세요.','이미지와 기록을 불러올 동안 페이지 배치를 안정적으로 유지할 때.','작품 표지와 글이 들어올 자리만 먼저 보여주고 같은 자리에 결과를 채워줘.','다시 불러오기'],
    ['카드에 포인터를 올리거나 초점을 맞추면 표지가 들리고 작품 정보가 나타납니다.','작품에 추가 정보가 있다는 것을 가벼운 반응으로 알릴 때.','카드가 호버와 키보드 초점에 같은 반응을 보이고 터치로도 정보를 열게 해줘.','카드 들어 보기'],
    ['작품 기록을 아래로 스크롤해 제목과 이미지가 들어오는 순간을 보세요.','스크롤하면서 다음 작품이나 문단을 자연스럽게 소개할 때.','작품이 화면에 들어오면 한 번만 나타나고 감소 설정에서는 즉시 보이게 해줘.','아래 작품 보기'],
    ['재생을 눌러 세 장의 교정지가 순서대로 나타나는 모습을 보세요.','정해진 순서가 있는 자료를 차례로 제시할 때.','세 장의 교정지를 짧은 시간 차로 등장시키고 최종 정렬을 유지해줘.','교정지 펼치기'],
    ['색 조합을 바꿔 인쇄 견본의 바탕·크기·모서리 변화를 확인하세요.','선택 전후에 무엇이 달라졌는지 연결해서 보여줄 때.','두 견본 상태 사이의 색과 형태가 부드럽게 이어지게 해줘.','견본 바꾸기'],
    ['라벨의 유리 효과를 바꿔 배경의 결이 얼마나 비치는지 비교하세요.','사진 위의 작품 라벨에 깊이를 주면서 글자를 읽을 수 있게 할 때.','작품 사진 위에 반투명 라벨을 놓고 대비와 배경 흐림을 조절해줘.','라벨 재질 전환'],
    ['안쪽 화면을 내려 전경의 문장과 뒤쪽 이미지가 다른 속도로 이동하는지 보세요.','작품 해설을 읽는 동안 화면에 깊이를 주고 싶을 때.','이미지와 글이 다른 속도로 이동하고 동작 감소 설정은 정적 화면으로 보여줘.','다음 문단으로'],
    ['한 장씩 스크롤해 각 작품이 화면 경계에 맞춰 멈추는지 확인하세요.','사진이나 포스터를 한 장씩 읽는 세로 전시.','세로로 넘기면 한 작품이 화면 경계에 맞춰 멈추도록 만들어줘.','다음 전시 벽'],
    ['하트를 눌러 이 작품을 표시하고 다시 눌러 해제하세요.','선택이 반영됐다는 작은 신호를 즉시 전달할 때.','하트를 누르면 짧은 반응과 함께 보관 개수와 선택 상태를 바꿔줘.','하트 누르기']
  ];
  const guide=Object.fromEntries(guides.map(([instruction,use,request,action],i)=>[i+1,{instruction,use,request,action}]));
  guide[11].spec='작품 세 점을 세로로 놓고 각 행 오른쪽에 ‘기록 보기’를 둡니다. 선택한 작품의 이미지와 해설이 오른쪽에서 330ms 동안 들어옵니다. 패널 폭은 목록 너비의 75%, 최대 370px입니다. 열리면 뒤의 목록을 어둡게 하고 조작을 막으며 닫기 버튼에 초점을 둡니다. 닫기·배경·Escape로 닫으면 선택한 행의 버튼으로 돌아갑니다. 동작 줄이기에서는 즉시 엽니다.';
  const media = key => window.MotionFoundationMedia?.[key] || key;
  const img=(i,cls='')=>'<img class="ff-image '+cls+'" src="'+media(works[i].image)+'" alt="'+works[i].alt+'" draggable="false">';
  const name=i=>'<strong>'+works[i].title+'</strong><i lang="en">'+works[i].en+'</i>';
  const byline=i=>'<span class="ff-kind">'+works[i].process+'</span>';
  const command=(act,label,extra='')=>'<button type="button" class="ff-cmd" data-fn="'+act+'" '+extra+'>'+label+'</button>';
  const stamp=text=>'<span class="ff-stamp">'+text+'</span>';
  const heading=(title,sub='')=>'<div class="ff-heading"><h3>'+title+'</h3>'+(sub?'<i lang="en">'+sub+'</i>':'')+'</div>';
  const card=(i,act='',attr='')=>act?'<button class="ff-work" type="button" data-fn="'+act+'" data-i="'+i+'" '+attr+'>'+img(i)+name(i)+'</button>':'<div class="ff-work">'+img(i)+name(i)+'</div>';
  const register=()=>works.map((w,i)=>'<article>'+img(i)+'<div>'+name(i)+byline(i)+'</div></article>').join('');
  const nav=(name,labels,attr='')=>'<div class="ff-nav" '+attr+'>'+labels.map((text,i)=>command(name,text,'data-i="'+i+'" aria-pressed="'+(i===0)+'"')).join('')+'</div>';
  const labelRow=(i)=>'<h4>'+works[i].title+'</h4><p>'+works[i].note+'</p>';
  const selections=['작품','제작','보관'];
  const papers=[
    ['내추럴 화이트','따뜻한 바탕에 잉크의 결이 남는 비도공지.','#efe4ca'],
    ['백색 모조','바탕의 흰색이 선명한 평활지.','#f7f6f0'],
    ['크라프트','진한 선과 잘 어울리는 갈색 재생지.','#bf9a67']
  ];
  const answer=[
    ['인쇄물은 어떻게 잡나요?','깨끗하고 마른 손으로 인쇄면을 피해 종이 가장자리를 잡습니다.'],
    ['보관할 때는 어떤 빛이 좋은가요?','직사광선을 피해 빛과 습기가 적은 평평한 곳에 둡니다.'],
    ['여러 장을 겹쳐도 되나요?','인쇄면 사이에 얇고 깨끗한 간지를 넣습니다.']
  ];
  const strips=()=>works.map((w,i)=>'<figure>'+img(i)+'<figcaption>'+name(i)+'</figcaption></figure>').join('');
  const pages = {
    1:()=>'<div class="ff-hero">'+img(0)+'<div>'+stamp('종이 조형전')+'<h3>종이의 표면</h3>'+command('landing','작품 펼치기 ↗')+'</div></div><div class="ff-index" hidden>'+heading('출품작','Exhibition index')+'<div class="ff-trio">'+works.map((_,i)=>card(i)).join('')+'</div>'+command('landing','← 전시 표지')+'</div>',
    2:()=>'<div class="ff-flexhead">'+heading('출품작','Exhibition catalogue')+command('width','한 열로 보기')+'</div><div class="ff-viewport"><div class="ff-trio">'+works.map((_,i)=>card(i)).join('')+'</div></div>',
    3:()=>heading('작품 기록','Selected work')+'<div class="ff-trio ff-pickgrid">'+works.map((_,i)=>card(i,'record','aria-pressed="'+(i===0)+'"')).join('')+'</div><div class="ff-record" aria-live="polite">'+labelRow(0)+'</div>',
    4:()=>heading('이번 전시의 세 작품','On view')+'<div class="ff-bento">'+works.map((_,i)=>card(i,'lead','aria-pressed="'+(i===0)+'"')).join('')+'</div>',
    5:()=>'<div class="ff-side"><nav aria-label="작품 분류">'+heading('작품고')+nav('section',['전체','평면','입체'])+'</nav><div class="ff-side-results"><h4>전체 · 3점</h4><div class="ff-register">'+register()+'</div></div></div>',
    6:()=>'<div class="ff-scroll ff-sticky-scroll" tabindex="0" aria-label="전시 목록 스크롤"><div class="ff-sticky">'+heading('종이의 표면')+stamp('작품 목록')+'</div><div class="ff-register">'+register()+'</div></div>',
    7:()=>'<div class="ff-split">'+img(0)+'<div>'+stamp('작품 기록')+heading('붉은 고리','Paper Loop')+'<p>'+works[0].note+'</p>'+command('split','사진 넓히기')+'</div></div>',
    8:()=>'<div class="ff-detail">'+img(1)+'<div>'+heading('밀물의 결','Tidal Lines')+'<div class="ff-nav" role="tablist" aria-label="작품 기록">'+selections.map((s,i)=>command('tab',s,'role="tab" id="ff-tab-'+i+'" data-i="'+i+'" aria-controls="ff-panel" aria-selected="'+(i===0)+'" tabindex="'+(i===0?'0':'-1')+'"')).join('')+'</div><div id="ff-panel" role="tabpanel" aria-labelledby="ff-tab-0"><p>'+works[1].note+'</p></div></div></div>',
    9:()=>heading('인쇄물 보관 안내','Paper care')+'<div class="ff-faq">'+answer.map(([q,a],i)=>'<details><summary><small>0'+(i+1)+'</small>'+q+'</summary><p>'+a+'</p></details>').join('')+'</div>',
    10:()=>'<div class="ff-proof ff-underlay">'+img(2)+'<div>'+stamp('인쇄 교정')+heading('접힌 거리','Offset Walk')+'<p>색판의 위치와 모서리를 확인합니다.</p>'+command('modal','교정지 확인')+'</div></div><div class="ff-over" hidden><div class="ff-modal" role="dialog" aria-label="교정지 확대" aria-modal="true">'+img(2)+'<div>'+heading('최종 교정지')+'<p>남색·주홍·갈색 세 판을 겹친 상태입니다.</p>'+command('close','닫고 돌아가기')+'</div></div></div>',
    11:()=>'<div class="ff-underlay">'+heading('작품 목록','Works register')+'<div class="ff-register">'+works.map((w,i)=>'<article>'+img(i)+'<div>'+name(i)+byline(i)+'</div>'+command('drawer','기록 보기','data-i="'+i+'" aria-label="'+w.title+' 기록 보기"')+'</article>').join('')+'</div></div><div class="ff-over ff-drawer-layer" hidden><div class="ff-drawer" role="dialog" aria-label="작품 상세 기록" aria-modal="true">'+command('close','닫기 ×')+'<div class="ff-drawer-copy"></div></div></div>',
    12:()=>'<div class="ff-paper"><div class="ff-sample-stock"><span>별색 인쇄 견본</span><b>Ink</b></div><div>'+heading('용지 고르기','Paper stock')+'<div class="ff-drop">'+command('dropdown',papers[0][0]+' ▾','aria-expanded="false" aria-controls="ff-papers"')+'<div id="ff-papers" hidden>'+papers.map((p,i)=>command('paper',p[0],'data-i="'+i+'"')).join('')+'</div></div><p class="ff-paper-note">'+papers[0][1]+'</p></div></div>',
    13:()=>'<div class="ff-proof">'+img(1)+'<div>'+stamp('인쇄 사양')+heading('밀물의 결','Tidal Lines')+'<div class="ff-help"><strong>별색 2도</strong>'+command('tip','?','aria-label="별색 설명" aria-describedby="ff-tip"')+'<div role="tooltip" id="ff-tip" hidden>별색은 원하는 색을 미리 배합한 잉크입니다. 이 작품에는 두 색을 씁니다.</div></div></div></div>',
    14:()=>'<div class="ff-proof">'+img(2)+'<div>'+stamp('나의 관람 목록')+heading('접힌 거리','Offset Walk')+command('save','관람 목록에 담기','aria-pressed="false"')+'</div></div><div class="ff-toast" hidden><span role="status">관람 목록에 담았습니다.</span>'+command('undo','되돌리기')+'</div>',
    15:()=>'<div class="ff-film" aria-label="작품 슬라이드" tabindex="0"><div class="ff-filmtrack">'+works.map((w,i)=>'<figure>'+img(i)+'<figcaption>'+name(i)+'</figcaption></figure>').join('')+'</div></div>'+nav('slide',works.map(w=>w.title)),
    16:()=>heading('신착 인쇄물','New acquisition')+'<div class="ff-load" aria-live="polite"></div>',
    17:()=>'<button class="ff-hoverwork" data-fn="hover" type="button" aria-expanded="false">'+img(2)+'<span>'+name(2)+'<small>'+works[2].note+'</small></span></button>',
    18:()=>'<div class="ff-scroll ff-reveal" tabindex="0" aria-label="작품 기록 스크롤">'+heading('그림이 된 선','Line studies')+strips()+'</div>',
    19:()=>heading('인쇄 차례','Proof sequence')+'<div class="ff-contact">'+works.map((_,i)=>'<figure>'+img(i)+'<figcaption><small>0'+(i+1)+'</small>'+works[i].title+'</figcaption></figure>').join('')+'</div>',
    20:()=>'<div class="ff-ink-proof"><div class="ff-ink-swatch"><b>Ink</b><em>01</em></div><div>'+heading('잉크 견본','Ink study')+'<p class="ff-ink-name">적색 · 사각 견본</p>'+command('ink','견본 바꾸기')+'</div></div>',
    21:()=>'<div class="ff-glass">'+img(0)+'<div class="ff-plaque">'+stamp('종이 조형전')+heading('붉은 고리','Paper Loop')+'<p>망점 인쇄 · 종이 조형</p>'+command('glass','불투명 라벨로 보기')+'</div></div>',
    22:()=>'<div class="ff-scroll ff-parallax" tabindex="0" aria-label="밀물의 결 작품 해설"><div class="ff-depth">'+img(1)+'<div>'+heading('밀물의 결','Tidal Lines')+'</div></div><div class="ff-depth-note">'+stamp('작품 해설')+'<h4>선이 물결이 되는 자리</h4><p>'+works[1].note+'</p></div></div>',
    23:()=>'<div class="ff-scroll ff-snap" tabindex="0" aria-label="세로 작품 슬라이드">'+strips()+'</div>',
    24:()=>'<div class="ff-proof">'+img(0)+'<div>'+stamp('나의 작품 보관함')+heading('붉은 고리','Paper Loop')+'<button type="button" class="ff-cmd ff-heart" data-fn="like" aria-pressed="false"><b aria-hidden="true">♡</b><span>작품 보관</span><em>0</em></button></div></div>'
  };
  function html(id){
    if(!pages[id])return '';
    return '<div class="demo-scene foundation-scene" data-demo="'+id+'"><div class="ff-page" data-cover>'+pages[id]()+'</div></div>';
  }

  function mount(id, root, options={}) {
    const scene=root.querySelector('.foundation-scene');
    const touchProfile=()=>['ios','android'].includes(scene.ownerDocument.documentElement.dataset.motionPlatform);
    const reduced=!!options.reduced || (!!window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches);
    const report=options.status || (()=>{});
    const q=s=>scene.querySelector(s), all=s=>Array.from(scene.querySelectorAll(s));
    const commandFor=act=>q('[data-fn="'+act+'"]');
    const lifetime=new AbortController();
    const on=(element,event,handler,opts={})=>element.addEventListener(event,handler,{...opts,signal:lifetime.signal});
    const timers=new Map();
    const later=(key,fn,ms)=>{clearTimeout(timers.get(key));timers.set(key,setTimeout(fn,ms));};
    const stopTimer=key=>{clearTimeout(timers.get(key)); timers.delete(key);};
    scene.classList.toggle('ff-reduced',reduced);
    let index=0, busy=false, innerOpener=null;
    function listPressed(selector,i){
      all(selector).forEach((entry,n)=>entry.setAttribute('aria-pressed',String(i===n)));
    }
    function scrollOne(){
      const sc=q('.ff-scroll');
      if(!sc)return;
      const end=sc.scrollHeight-sc.clientHeight;
      const target=sc.scrollTop>=end-3?0:Math.min(end,sc.scrollTop+Math.max(75,sc.clientHeight*(id===23?1:.62)));
      sc.scrollTo({top:target,behavior:reduced?'instant':'smooth'});
    }
    function section(i){
      index=i;listPressed('[data-fn="section"]',i);
      const type=['전체','평면','입체'][i];
      let count=0;
      all('.ff-register article').forEach((a,j)=>{a.hidden=i!==0&&works[j].kind!==type;if(!a.hidden)count++;});
      q('.ff-side-results h4').textContent=type+' · '+count+'점';
    }
    function tab(i,focus=false){
      index=i;
      all('[role="tab"]').forEach((b,n)=>{b.setAttribute('aria-selected',String(n===i));b.tabIndex=n===i?0:-1;});
      if(focus) all('[role="tab"]')[i].focus();
      q('[role="tabpanel"]').setAttribute('aria-labelledby','ff-tab-'+i);
      q('[role="tabpanel"] p').textContent=[works[1].note,'청록과 주홍 잉크를 각각 인쇄해 선 사이에 종이 바탕을 남겼습니다.','인쇄면을 만지지 않고 중성지 사이에 평평하게 보관합니다.'][i];
    }
    function openLayer(button,i){
      innerOpener=button;
      const over=q('.ff-over');
      if(id===11)q('.ff-drawer-copy').innerHTML=img(i)+name(i)+byline(i)+'<p>'+works[i].note+'</p>';
      q('.ff-underlay').inert=true;
      over.hidden=false;commandFor('close').focus({preventScroll:true});
    }
    function closeLayer(){
      q('.ff-over').hidden=true;q('.ff-underlay').inert=false;
      innerOpener?.focus({preventScroll:true});
    }
    function drop(open,focus=false){
      const toggle=commandFor('dropdown');q('#ff-papers').hidden=!open;
      toggle.setAttribute('aria-expanded',String(open));
      if(open&&focus)all('[data-fn="paper"]')[index].focus();
    }
    function slide(i){
      index=(i+works.length)%works.length;
      q('.ff-filmtrack').style.transform='translateX(-'+index*100+'%)';
      listPressed('[data-fn="slide"]',index);
      all('.ff-filmtrack figure').forEach((f,n)=>f.setAttribute('aria-hidden',String(n!==index)));
      report(works[index].title);
    }
    function load(){
      const host=q('.ff-load');
      host.setAttribute('aria-busy','true');
      host.innerHTML='<div class="ff-skeleton"><span></span><span></span><span></span></div>';
      later('load',()=>{
        host.innerHTML=img(1)+'<div>'+byline(1)+name(1)+'<p>'+works[1].note+'</p></div>';
        host.setAttribute('aria-busy','false');report('작품 기록을 불러왔습니다.');
      },reduced?30:950);
    }
    function pokeHover(show){
      const b=commandFor('hover');b.classList.toggle('ff-raised',show);b.setAttribute('aria-expanded',String(show));
    }
    function reveal(){
      const scroll=q('.ff-scroll'),r=scroll.getBoundingClientRect();
      all('.ff-reveal figure').forEach(el=>{if(el.getBoundingClientRect().top<r.bottom-15 || reduced)el.classList.add('ff-shown');});
    }
    function save(on){
      const b=commandFor('save');b.setAttribute('aria-pressed',String(on)); b.textContent=on?'✓ 관람 목록에 담김':'관람 목록에 담기';
      q('.ff-toast').hidden=!on;stopTimer('toast');
      if(on)later('toast',()=>{q('.ff-toast').hidden=true;},3800);
      else report('목록에 담기 전으로 되돌렸습니다.');
    }
    function act(button,kind=button?.dataset.fn) {
      if(!button)return;
      const i=Number(button.dataset.i || 0);
      switch(kind){
        case 'landing':{
          const cover=q('.ff-hero'),list=q('.ff-index');
          const open=list.hidden;list.hidden=!open;cover.hidden=open;
          (open?list:cover).querySelector('button').focus({preventScroll:true});
          report(open?'출품작 세 점을 펼쳤습니다.':'전시 표지입니다.');break;
        }
        case 'width':{const small=q('.ff-viewport').classList.toggle('ff-narrow');button.textContent=small?'세 열로 보기':'한 열로 보기';button.setAttribute('aria-pressed',String(small));break;}
        case 'record':index=i; listPressed('[data-fn="record"]',i);q('.ff-record').innerHTML=labelRow(i);break;
        case 'lead':{
          index=i; const set=all('[data-fn="lead"]');
          listPressed('[data-fn="lead"]',i);
          set.forEach((b,n)=>b.style.order=String((n-i+3)%3));break;
        }
        case 'section':section(i);break;
        case 'split':{const wide=q('.ff-split').classList.toggle('ff-wide');button.textContent=wide?'기록 넓히기':'사진 넓히기';button.setAttribute('aria-pressed',String(wide));break;}
        case 'tab':tab(i);break;
        case 'modal':case 'drawer':openLayer(button,i);break;
        case 'close':closeLayer();break;
        case 'dropdown':drop(q('#ff-papers').hidden);break;
        case 'paper':{
          index=i; const [title,note,color]=papers[i];
          commandFor('dropdown').textContent=title+' ▾';q('.ff-paper-note').textContent=note;
          q('.ff-sample-stock').style.backgroundColor=color;drop(false);commandFor('dropdown').focus();break;
        }
        case 'tip':q('#ff-tip').hidden=touchProfile()?!q('#ff-tip').hidden:false;break;
        case 'save':save(button.getAttribute('aria-pressed')!=='true');break;
        case 'undo':save(false);commandFor('save').focus();break;
        case 'slide':slide(i);break;
        case 'hover':pokeHover(!button.classList.contains('ff-raised'));break;
        case 'ink':{const alt=q('.ff-ink-swatch').classList.toggle('ff-alt');q('.ff-ink-name').textContent=alt?'청색 · 둥근 견본':'적색 · 사각 견본';q('.ff-ink-swatch em').textContent=alt?'02':'01';button.setAttribute('aria-pressed',String(alt));break;}
        case 'glass':{const opaque=q('.ff-plaque').classList.toggle('ff-solid');button.textContent=opaque?'유리 라벨로 보기':'불투명 라벨로 보기';button.setAttribute('aria-pressed',String(opaque));break;}
        case 'like':{const yes=button.getAttribute('aria-pressed')!=='true';button.setAttribute('aria-pressed',String(yes));button.querySelector('b').textContent=yes?'♥':'♡';button.querySelector('span').textContent=yes?'보관한 작품':'작품 보관';button.querySelector('em').textContent=yes?'1':'0';if(!reduced)button.querySelector('b').animate([{transform:'scale(.86)'},{transform:'scale(1.22)'},{transform:'scale(1)'}],{duration:310});break;}
      }
    }
    function play(){
      if(id===1)return act(q((q('.ff-hero').hidden?'.ff-index':'.ff-hero')+' [data-fn]'));
      if(id===3||id===4||id===5||id===8||id===15){
        const action={3:'record',4:'lead',5:'section',8:'tab',15:'slide'}[id];
        return act(all('[data-fn="'+action+'"]')[(index+1)%3]);
      }
      if([6,18,22,23].includes(id))return scrollOne();
      if(id===9){const details=q('details');details.open=!details.open;return;}
      if(id===16)return load();
      if(id===17){pokeHover(true);later('hover',()=>pokeHover(false),1600);return;}
      if(id===19){
        all('.ff-contact figure').forEach((el,n)=>{
          el.getAnimations().forEach(a=>a.cancel());
          if(!reduced)el.animate([{opacity:0,transform:'translateY(24px) rotate(2deg)'},{opacity:1,transform:'none'}],{duration:430,delay:n*150,easing:'cubic-bezier(.2,.75,.25,1)',fill:'backwards'});
        });
        report('세 장의 교정지를 펼쳤습니다.');return;
      }
      const primary={2:'width',7:'split',10:'modal',11:'drawer',12:'dropdown',13:'tip',14:'save',20:'ink',21:'glass',24:'like'}[id];
      if(primary){if((id===10||id===11)&&!q('.ff-over').hidden)return closeLayer();return act(commandFor(primary));}
    }
    on(scene,'click',e=>{const b=e.target.closest('button[data-fn]');if(b)act(b);else if(e.target.classList.contains('ff-over'))closeLayer();});
    on(scene,'keydown',e=>{
      const target=e.target, key=e.key;
      if((id===10||id===11)&&!q('.ff-over').hidden){
        if(key==='Escape'){e.preventDefault();e.stopPropagation();closeLayer();}
        else if(key==='Tab'){e.preventDefault();commandFor('close').focus();}
      }else if(id===8&&target.matches('[role="tab"]')&&['ArrowLeft','ArrowRight','Home','End'].includes(key)){
        e.preventDefault();tab(key==='Home'?0:key==='End'?2:(index+(key==='ArrowLeft'?2:1))%3,true);
      }else if(id===12){
        if(key==='Escape'&&!q('#ff-papers').hidden){e.preventDefault();e.stopPropagation();drop(false);commandFor('dropdown').focus();}
        if(['ArrowDown','ArrowUp','Home','End'].includes(key)){e.preventDefault();if(q('#ff-papers').hidden)drop(true,true);else{const items=all('[data-fn="paper"]');const pos=items.indexOf(target);items[key==='Home'?0:key==='End'?2:(pos+(key==='ArrowDown'?1:2))%3].focus();}}
      }else if(id===13&&key==='Escape'&&!q('#ff-tip').hidden){e.preventDefault();e.stopPropagation();q('#ff-tip').hidden=true;}
      else if(id===15&&['ArrowLeft','ArrowRight'].includes(key)){e.preventDefault();slide(index+(key==='ArrowRight'?1:-1));}
    });
    if(id===12) on(scene,'focusout',e=>{if(!q('.ff-drop').contains(e.relatedTarget))drop(false);});
    if(id===13){
      const trigger=commandFor('tip');
      on(trigger,'pointerenter',()=>{if(!touchProfile())q('#ff-tip').hidden=false;});
      on(trigger,'focus',()=>{if(!touchProfile()||trigger.matches(':focus-visible'))q('#ff-tip').hidden=false;});
      on(trigger,'pointerleave',()=>{if(!touchProfile())q('#ff-tip').hidden=true;});
      on(trigger,'blur',()=>{q('#ff-tip').hidden=true;});
      on(scene.ownerDocument,'pointerdown',e=>{if(touchProfile()&&!q('.ff-help').contains(e.target))q('#ff-tip').hidden=true;});
    }
    if(id===15){
      let start=0;
      const surface=q('.ff-film');
      on(surface,'pointerdown',e=>{start=e.clientX;busy=true;surface.setPointerCapture(e.pointerId);});
      on(surface,'pointerup',e=>{if(busy && Math.abs(e.clientX-start)>30)slide(index+(e.clientX<start?1:-1));busy=false;});
      on(surface,'pointercancel',()=>busy=false);
      slide(0);
    }
    if(id===16)load();
    if(id===17){
      const b=commandFor('hover');
      on(b,'pointerenter',e=>{if(!touchProfile()&&e.pointerType==='mouse')pokeHover(true);});
      on(b,'pointerleave',e=>{if(!touchProfile()&&e.pointerType==='mouse')pokeHover(false);});
      on(b,'focus',()=>{if(b.matches(':focus-visible'))pokeHover(true);});on(b,'blur',()=>pokeHover(false));
    }
    if(id===18) {scene.classList.add('ff-live');on(q('.ff-scroll'),'scroll',reveal,{passive:true});reveal();}
    if(id===22&&!reduced){const sc=q('.ff-scroll');on(sc,'scroll',()=>{q('.ff-depth img').style.transform='translateY('+sc.scrollTop*.34+'px)';},{passive:true});}
    function dispose(){lifetime.abort();timers.forEach(clearTimeout);scene.getAnimations({subtree:true}).forEach(a=>a.cancel());}
    return {play,dispose};
  }
  const assetsFor=id=>{
    const ids={7:[0],8:[1],9:[],10:[2],12:[],13:[1],14:[2],16:[1],17:[2],20:[],21:[0],22:[1],24:[0]}[id] || [0,1,2];
    return ids.map(i=>works[i].image);
  };
  window.MotionFoundation={html,mount,guide,assetsFor,assets:works.map(work=>work.image)};
})();
</script><script>const id=9, stage=document.querySelector("#stage"), play=document.querySelector("#playDemo"), status=document.querySelector("#sampleStatus"),m=matchMedia("(prefers-reduced-motion: reduce)");let view;function mount(){view?.dispose();status.textContent="";play.textContent="첫 답변 펼치기";const options={reduced:m.matches,status:text=>{status.textContent=text},playButton:play};stage.innerHTML=MotionFoundation.html(id);view=MotionFoundation.mount(id,stage,options);}mount();play.addEventListener("click",()=>view.play());document.querySelector("#reset").addEventListener("click",mount);m.addEventListener("change",mount);</script></body></html>
```
