/* The illustrated opening and paper-folder work sequence. */
@view-transition { navigation: auto; }
.wordmark { display:inline-flex;align-items:center;gap:7px;padding-right:0;font-size:29px;line-height:1; }
.wordmark-flower { width:36px;height:36px;object-fit:contain;transform:rotate(-14deg); }
.intro-curtain { position:fixed;inset:0;z-index:200;background:var(--paper);display:grid;place-items:center;pointer-events:none;clip-path:inset(0 0 0 0);transition:clip-path .85s cubic-bezier(.77,0,.18,1),visibility .85s; }
.intro-curtain>span { position:relative;font:500 clamp(45px,8vw,110px)/1 var(--display);letter-spacing:-.06em; }
.intro-curtain img { position:absolute;right:-.4em;top:-.7em;width:.8em;transform:rotate(20deg); }
.intro-curtain.done { clip-path:inset(0 0 100% 0 round 0 0 45% 45%);visibility:hidden; }
.hero-runway { position:relative;height:320svh;background:var(--paper); }
.hero { position:sticky;top:0;height:100svh;min-height:620px;max-height:none;perspective:1200px; }
.hero-paper { z-index:8; }
.hero-art { z-index:2; }
.hero-props { position:absolute;inset:0;z-index:1; }
.hero-copy { left:50%;right:auto;top:70%;width:90%;transform:translateX(-50%);text-align:center;z-index:5; }
.hero h1 { font-size:clamp(43px,4.6vw,70px);letter-spacing:-.055em;line-height:1; }
.hero-kicker { margin:10px 0 0;font-size:16px;letter-spacing:.04em; }
.portrait-wrap { left:50%;top:0;width:min(43vh,36vw);height:59vh;z-index:4;transform:translate(-50%,9.5vh);transform-origin:50% 50%;will-change:transform; }
.hero-character { transform:none!important;transform-origin:center;object-fit:contain;backface-visibility:visible; }
.hero-prop { position:absolute;max-width:none;filter:none;scale:.8;transform-origin:50% 50%;will-change:transform; }
.prop-one { left:12%;top:8%;width:21%;height:22%; }
.prop-two { left:4%;top:26%;right:auto;width:27%;height:42%; }
.prop-three { left:83%;top:19%;bottom:auto;width:12%;height:33%; }
.prop-four { left:78%;top:63%;width:18%;height:22%; }
.prop-five { left:6%;top:74%;width:14%;height:18%; }
.hero-wipe { position:absolute;left:-35%;top:115%;width:170%;height:145%;border-radius:50% 50% 0 0 / 14% 14% 0 0;background:var(--paper);z-index:2;will-change:transform; }
.hero-transition-title { position:absolute;top:23%;left:0;right:0;text-align:center;opacity:0;font:500 clamp(55px,8vw,125px)/.9 var(--display);letter-spacing:-.07em;color:var(--blue);z-index:3;will-change:transform,opacity; }
.hero-transition-title>span { display:inline-block; }
.hero-transition-title>span+span { margin-left:.17em; }
.about-copy > p { text-wrap:balance; }
.hero-switcher { position:absolute;left:50%;bottom:5%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:24px;z-index:10; }
.hero-switcher>button { flex-shrink:0;background:var(--paper);width:60px;height:60px;border-radius:50%;font-size:24px;box-shadow:1px 3px 0 #243b3622;transition:transform .2s,background .2s; }
.hero-switcher>button:hover { transform:rotate(-4deg) scale(1.06); }
.hero-switcher>#theme-caption { width:auto;min-width:224px;height:auto;padding:15px 24px;border-radius:40px;background:#294868;color:var(--paper);font-size:17px;line-height:1.3;box-shadow:3px 4px 0 #233e3066; }

.work-intro { padding-top:65px;padding-bottom:60px; }
.work-runway { height:400svh; }
.work-stage { top:98px;height:calc(100svh - 98px);min-height:590px;isolation:isolate;background:var(--paper); }
.work-panel { padding:105px 6% 80px;background:transparent;border-radius:0;box-shadow:none;isolation:isolate;overflow:visible; }
.work-panel::before { content:'';position:absolute;inset:44px 0 0;background:var(--project);border-radius:0 23px 0 0;box-shadow:0 -1px 0 #252d3620;z-index:-1; }
.folder-tab { position:absolute;left:0;top:0;height:46px;min-width:280px;padding:14px 35px 9px max(30px,6vw);background:var(--project);border-radius:15px 18px 0 0;font:500 13px/1.6 var(--display);letter-spacing:.04em;z-index:2; }
.folder-tab::after { content:'';position:absolute;right:-25px;top:0;width:47px;height:100%;background:inherit;transform:skewX(30deg);border-radius:0 12px 0 0;z-index:-1; }
.work-panel-copy { padding-right:30px; }
.work-english { margin-bottom:22px; }
.project-art img { width:100%;height:auto;aspect-ratio:16 / 9;max-height:64svh;object-fit:contain;transition:filter .3s; }
.project-art a:hover img { filter:drop-shadow(0 26px 27px #2b324027); }
.project-link { display:inline-flex;align-items:center;justify-content:flex-start;width:fit-content;max-width:100%;min-width:0;min-height:44px;border:0;border-bottom:1px solid #252d3640;border-radius:0;padding:8px 0;gap:15px;margin-top:22px;font:500 12px/1.2 var(--display);letter-spacing:.035em;transition:gap .25s,border-color .25s; }
.project-link>span { font-size:inherit;transform:none!important; }
.project-link>svg { width:27px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .25s; }
.project-link:hover,.project-link:focus-visible { color:inherit;background:transparent;border-bottom-color:currentColor;gap:20px; }
.project-link:hover>svg,.project-link:focus-visible>svg { transform:translateX(2px); }
.work-stepper { bottom:22px; }
.site-footer { display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;background:#f7eee6; }
.site-footer > span:nth-child(2) { justify-self:center;text-align:center; }
.site-footer > a { justify-self:end; }
.click-flower { position:absolute;width:25px;height:25px;animation:flower-feeding 2.6s both; }
@keyframes flower-feeding { 0%{opacity:0;transform:translate(-50%,-80%) scale(.5) rotate(-15deg)} 12%,68%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(8deg)} 100%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(28deg)} }
.motion-paused .hero-runway { height:auto; }
.motion-paused .hero { position:relative; }
.motion-paused .intro-curtain { display:none; }
.motion-paused .work-stage { height:auto;min-height:0; }
.motion-paused .work-panel { min-height:800px;background:var(--previous-project,var(--paper)); }

@media(max-width:1000px) { .hero-bottom { bottom:2%;left:50%;transform:translateX(-50%); }.hero-switcher { bottom:7%; }.hero-copy { top:69%; }.portrait-wrap { width:43vh;max-width:46vw; }.work-panel h3 { font-size:28px; }.project-link { font-size:12px; } }
@media(max-width:800px) { .work-runway { height:auto; }.work-stage { height:auto;min-height:0;overflow:visible; }.work-panel,.work-panel:nth-child(n+2) { padding:90px 7% 75px;min-height:0;grid-template-columns:1fr;gap:30px; }.work-panel::before { border-radius:0 20px 0 0; }.work-panel-copy { padding:0; }.work-panel+.work-panel { margin-top:0; }.project-art img { max-height:none; }.project-link { margin-top:18px; }.folder-tab { min-width:230px;padding-left:7vw;font-size:12px; }.motion-paused .work-panel { min-height:0; } }
@media(max-width:600px) {
 .site-footer { grid-template-columns:minmax(0,1fr) auto; }
 .site-footer > span:nth-child(2) { grid-column:1 / -1;grid-row:2;order:initial; }
 .wordmark { font-size:26px;gap:5px; }.wordmark-flower { width:31px;height:31px; }
 .hero { min-height:650px;height:100svh; }.hero-runway { height:290svh; }
 .hero-copy { top:68%;left:50%;right:auto; }.hero h1 { font-size:48px; }.hero-kicker { margin-top:8px;font-size:15px;letter-spacing:.04em; }
 .portrait-wrap { width:65vw;max-width:none;height:57vh;left:50%;top:0; }
 .prop-one { left:8%;right:auto;top:7%;width:24%;height:15%; }.prop-two { left:-17%;right:auto;top:24%;width:43%;height:31%; }.prop-three { left:82%;top:15%;width:23%;height:23%; }.prop-four { left:82%;top:53%;width:26%;height:20%; }.prop-five { left:-3%;top:60%;bottom:auto;width:22%;height:17%; }
 .hero-switcher { gap:13px;bottom:9%;width:90%; }.hero-switcher>button { width:45px;height:45px;font-size:22px; }.hero-switcher>#theme-caption { min-width:180px;font-size:14px;padding:14px 16px; }
 .hero-bottom { left:50%;right:auto;bottom:3.8%;transform:translateX(-50%); }.theme-picker { gap:14px; }.theme-picker button { width:13px;height:13px; }
 .hero-transition-title { top:26%;font-size:14vw; }
 .work-intro { padding:44px 7% 45px; }.work-intro h2 { font-size:43px; }.work-intro-aside { display:none; }
 .work-panel h3 { font-size:27px; }.folder-tab { min-width:222px; }.work-panel::before { border-radius:0 17px 0 0; }.project-link { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .hero-runway{height:auto}.hero{position:relative}.intro-curtain{display:none}.work-stage{height:auto;min-height:0}.work-panel{min-height:760px}html{scroll-behavior:auto} }
/* Static folders retain the previous folder colour behind the tab and rounded edge. */
@media(max-width:800px),(prefers-reduced-motion:reduce) {
 .work-panel { background:var(--previous-project,var(--paper)); }
}
/* Larger, overlapping prints keep their native proportions on the compact wall. */
.photo-wall { height:970px; }
.photo-print img, .photo-print.portrait-print img { aspect-ratio:auto; }
@media(max-width:600px) {
 .photo-wall { height:1080px; }
}
